0

I do not know too many details except that I access the internet from behind a proxy server (I have the IP and port) and that I'm running PHP out of localhost (using WAMP) The mail() isn't able to send emails.

Really new to PHP, so would appreciate help fixing this.

  • Refer to this and then post details if it doesn't work anymore. http://stackoverflow.com/questions/1993070/sending-emails-with-wamp – Ingo86 Feb 06 '11 at 18:56

1 Answers1

3

Do you have access to the php.ini file or the ability to override php.ini settings with the ini_set function?

Then you can try and override the SMTP settings and replace it with for example your ISP settings: http://www.php.net/manual/en/mail.configuration.php#ini.smtp

Apparently you can't set a username/password if required by the SMTP server. So you probably have to use a third-party e-mail library. Try Swift: http://swiftmailer.org/

Or check this post with a similar question: php.ini & SMTP= - how do you pass username & password

Community
  • 1
  • 1
Hidde
  • 339
  • 2
  • 6