Toolman87 Posted March 9, 2015 Share Posted March 9, 2015 Good Afternoon, I'm attempting to create a contact form which will send the inputs of the form to an email address. The form works, when i hit submit it takes me to a thank you page and everything echo's correctly however I am not receiving any emails. I know i have read that an email has to be a valid one at the domain such as whatever@mydomain.com where the website is www.mydomain.com. Is there a way that i can use another email address not associated with that domain? such as maybe a gmail account or another account from like www.myotherdomain.com ? I have seen the php.ini configuration file and i think i'm able to put SMTP username and password there but i'm unsure if its possible to do it with an email address that is completely different than the host domain. Is there another alternative to this? Thanks for your help! Quote Link to comment https://forums.phpfreaks.com/topic/295198-php-mail-function/ Share on other sites More sharing options...
Barand Posted March 9, 2015 Share Posted March 9, 2015 see http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/ 1 Quote Link to comment https://forums.phpfreaks.com/topic/295198-php-mail-function/#findComment-1507963 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.