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 [email protected] 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! 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/ Link to comment https://forums.phpfreaks.com/topic/295198-php-mail-function/#findComment-1507963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.