Jump to content
The Uniform Server Community
Caps

How do you enable send mail function in PHP.ini?

Recommended Posts

On line 1083 I see:

 

; For Win32 only.

http://php.net/sendmail-from

sendmail_from = me@localhost.com

 

I un-commented out the last 2 lines. For "me@localhost.com" I replaced it with my own email address going to a domain. Is this correct? I would not think so.

 

I am not receiving mail generated by Contact Us from my CMS.

 

Thank you in advance.

Share this post


Link to post
Share on other sites

Uniform Server: Orion_* (* any version)

Revert changes you made to php.ini

Read file: UniServer\docs\en\msmtp.txt

 

Send mail already configured in php.ini

You need to edit file: UniServer\msmtp\msmtprc.ini

Share this post


Link to post
Share on other sites

Thankyou Coral and Bobs -

 

I am wanting to use the PHP mail (send_mail) protocol and not SMTP. I host several domains.

Share this post


Link to post
Share on other sites

Thank you BobS and Coral for your assistance. All is working now. I did not realize you had to set up a master email account for sendmail to work.

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...