luisda2994 Posted May 25, 2015 Share Posted May 25, 2015 Hello, I need to be able to send a form to a real email address using mail(), however every solution I find has to do with uploading the website to a host, and due to the nature of my project that's not possible. It must run in my own computer and still be capable of sending emails. Any example, code or help appreciated. Thanks Link to comment Share on other sites More sharing options...
Ingolme Posted May 25, 2015 Share Posted May 25, 2015 You'll need to look into installing an SMTP server on your computer if you want to be able to send mail, then you need to configure PHP to use it. I've tried before and it's complicated. Link to comment Share on other sites More sharing options...
Techneut Posted May 26, 2015 Share Posted May 26, 2015 All you can install xampp and then configure the mercury mail server with php. 1 Link to comment Share on other sites More sharing options...
dsonesuk Posted May 26, 2015 Share Posted May 26, 2015 IF you just want to test if a email is actually processed and been sent, and email displays as required, WITHOUT complicated installation and setup of a mail server try http://www.toolheap.com/test-mail-server-tool/ it waits for any email sent through port 25 and transfers it to you default email application to view. Link to comment Share on other sites More sharing options...
justsomeguy Posted May 26, 2015 Share Posted May 26, 2015 You can also use something like PHPMailer and configure it to send email through a remote mail server like Gmail. Link to comment Share on other sites More sharing options...
luisda2994 Posted May 28, 2015 Author Share Posted May 28, 2015 All you can install xampp and then configure the mercury mail server with php. Thank you. That was the solution! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now