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 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! 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.