Jump to content

PHP Mail() Function


Toolman87

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.