Home »
Imported messages »
comp.lang.php »
sendmail from localhost is driving me crazy!
Re: sendmail from localhost is driving me crazy! [message #184807 is a reply to message #184801] |
Mon, 03 February 2014 12:52 |
Ben Bacarisse
Messages: 82 Registered: November 2013
Karma:
|
Member |
|
|
shumit <shumit(at)eskatongardens(dot)com> writes:
> I have followed the universally accepted methods for sending mail from
> gmail but I cannot yet send a single email. I am using wampserver.
>
> My sendmail config is
>
> smtp_server=smtp.gmail.com
> smtp_port=465
> smtp_ssl=SSL
> default_domain=localhost
> error_logfile=error.log
>
> auth_username=myaccount(at)gmail(dot)com
> auth_password=pwd
> hostname=localhost
>
> Pretty standard.
This format is specific to the mail program and they all offer sendmail
compatibility so that name alone is not much help.
> My Php.ini file now contains the following
>
> sendmail_path = "c:\wamp\sendmail\sendmail.exe -t -i"
>
> And yet I cannot send a mail.
Separate the mail sending from PHP. Can you send a message using
sendmail on its own? If sending fails, there is likely to be some sort
of log file which will tell you more, but where that will be is
dependent on which mail program you are using.
<snip>
> I enabled
|
|
|
Goto Forum:
Current Time: Mon Nov 25 03:44:31 GMT 2024
Total time taken to generate the page: 0.03981 seconds