Re: sending mail from localhost to yahoo, gmail, hotmail, etc



On Apr 8, 7:12 pm, undbund <undb...@xxxxxxxxx> wrote:
Hi I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone on
the internet. Can you guys give me some ideas on how to achieve this.

Usual and easiest way is to have two components: some kind of a mailer
(like sendmail) and your program submitting messages to it. So you
have sendmail installed and:

SMTP localhost
smtp_port 25

in your php.ini

in your program you call mail($email, $subject, $message) and sendmail
will take care of the rest

/sandy
http://myphpquiz.com/
.



Relevant Pages

  • Forwading Sendmail
    ... Do you think it is posible to configure sendmail to forward a particular ... foreign email address like myemail@xxxxxxxxxxx to myname@xxxxxxxxxxxx ... (mydomain.com is our localhost)? ... The only thing I can found on the internet is to forward from ...
    (comp.mail.sendmail)
  • Re: sendmail and sm-client very slow to start
    ... > that sendmail is hanging with the command: ... > strace seems to reveal why; it hangs at the noted position in the ... localhost.localdomain localhost ... # cat /etc/sysconfig/network ...
    (Fedora)
  • Re: Security needed for basic home computer?
    ... > How do I know whether sendmail is doing more than listening on localhost ... > stage of ignorance I do not even know what to do with an iptables script. ...
    (comp.os.linux.security)
  • Re: sendmail hangs with errors after setting hostname
    ... I would suggest setting the hostname as a different address from localhost. ... There are multiple instances of sendmail that run, as your rc.conf file has them enabled. ... # Script to start your chosen MTA, ...
    (freebsd-questions)
  • Re: Runaway inodes / clientmqueue
    ... #svcadm disable sendmail ... H??Received: from localhost (localhost) ... H??To: root ...
    (comp.unix.solaris)