Page 1 of 1

sendmail

PostPosted: 17. June 2010 20:04
by roasthawg
I've spent the last week reading every post I can find on the internet trying to get my xampp setup to test my .php website out locally. No matter what I try I can't get it to send mail. Mercury isn't working for me and neither is sendmail. I think it might be easier to get sendmail to work with either gmail or hotmail and would LOVE some help... my sendmail.ini file looks like this:

# Example for a user configuration file

# Set default values for all following accounts.
defaults
logfile "C:\xampp\sendmail\sendmail.log"

# Mercury
account Mercury
host localhost
from root@localhost
auth off

# A freemail service example
account Gmail
tls on
tls_certcheck off
host smtp.gmail.com
from ********@gmail.com
auth on
user *******
password ********

# Set a default account
account default : Gmail


Any ideas? Thanks in advance!

Re: sendmail

PostPosted: 17. June 2010 21:08
by Nobbie
What says the logfile?

P.S.: Dont use gmail furthermore, use googlemail instead (smtp.googlemail.com). I dont think gmail is supported any longer.

Re: sendmail

PostPosted: 17. June 2010 21:15
by roasthawg
logfile (this is just a snippet)

Cannot connect to SMTP server 74.125.53.109 (74.125.53.109:25), connect error 10060' errormsg='cannot get initial OK message from server' exitcode=EX_PROTOCOL

Re: sendmail

PostPosted: 17. June 2010 21:16
by Nobbie
As i said, try googlemail instead of gmail.

Re: sendmail

PostPosted: 17. June 2010 21:19
by roasthawg
Nobbie wrote:As i said, try googlemail instead of gmail.

Just ran it with goolemail instead... same error message.

Re: sendmail

PostPosted: 17. June 2010 22:13
by roasthawg
When I try live.com the log says that the connection timed out. When I use gmail it says it cannot get the initial ok message from the server. Don't know if this means anything to anyone or not.

Re: sendmail

PostPosted: 18. June 2010 10:26
by Nobbie
Maybe your requests are blocked by a firewall. And did you test googlemail?