[ubuntu-za] php sendmail

Raoul Snyman raoul.snyman at saturnlaboratories.co.za
Wed Jul 15 07:15:15 BST 2009

On Tue, 14 Jul 2009 22:58:03 +0200, Charl Wentzel
<charl.wentzel at vodamail.co.za> wrote:
> I want to use PHP to send an e-mail using my personal e-mail account.
> Getting the right PHP modules as well as writing the PHP code is as easy
> as can be.

Are you trying to use your own computer to send an e-mail, or are you
trying to send an e-mail from a web server?

If the latter, <?php mail("you at yourdomain.com", "I am the walrus", "goob,
goob, gachoob", "From: me at mydomain.com"); ?>

Raoul Snyman, B.Tech IT (Software Engineering)
Saturn Laboratories
e: raoul.snyman at saturnlaboratories.co.za
w: http://www.saturnlaboratories.co.za/
b: http://blog.saturnlaboratories.co.za/

More information about the ubuntu-za mailing list