Jump to content


Photo

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


  • Please log in to reply
4 replies to this topic

#1 Caps

Caps

    Junior Member

  • Member
  • Pip
  • 23 posts
  • Main OS: Windows Vista

Posted 27 August 2011 - 11:13 PM

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.

#2 Coral

Coral

    Junior Member

  • Member
  • Pip
  • 40 posts
  • Main OS: Windows XP

Posted 28 August 2011 - 03:57 AM

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

#3 BobS

BobS

    Project Helper

  • Super Moderator
  • PipPipPip
  • 334 posts
  • Location:Santiago Chile
  • Interests:Retiring, computer systems, system design, model railroads....
  • Wiki ID: BobS
  • Main OS: Windows 7

Posted 28 August 2011 - 06:30 AM

Coral is right on! For some more details on msmtp, see this Wiki article:
http://wiki.uniforms...5.3-Nano:_msmtp

Regards,
BobS

#4 Caps

Caps

    Junior Member

  • Member
  • Pip
  • 23 posts
  • Main OS: Windows Vista

Posted 28 August 2011 - 10:26 AM

Thankyou Coral and Bobs -

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

#5 Caps

Caps

    Junior Member

  • Member
  • Pip
  • 23 posts
  • Main OS: Windows Vista

Posted 03 September 2011 - 02:49 PM

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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users