Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is the sendmail.ini file what to change now

# Example for a user configuration file

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

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

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

# Set a default account
account default : Mercury
share|improve this question

migrated from stackoverflow.com Dec 5 '09 at 1:10

This question came from our site for professional and enthusiast programmers.

Needs to add [port 587] in the config [1]

account Gmail
tls on
port 587
tls_certcheck off
host smtp.gmail.com
from ***@gmail.com
auth on
user ***@gmail.com
password mygmailpassword

# Set a default account
account default : Gmail
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.