John N. Alegre [mailto:email@example.com] :
#if usr@domain is outside the LAN the mail never gets sent
#either if the code
#is run on ‘localhost’ or on a machine on the LAN with
#‘machine’ replaced by
#the IP of the SMTP server. I know ‘machine’ will serve as a
#SMTP host for
#mailers such as evolution or Mac OX X mailer because I use it
#for that all
by default, for security reasons, most smtp servers do not allow relays.
Specify in your smtp server the host IPs or networks you want to relay.
kind regards -botp