Hi folks,

I'm trying to set up some basic php send mail scripts - and I'm curious of
the best way to go...

I checked these basics out:


And got this code below going, but I'll bet I need a bit more - like adding
authentication - smtp - port - sending user / pass etc.

Any hints how to get this to the next level?

Thanks in advance - dave


$to      = 'nob...@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmas...@example.com' . "\r\n" .
    'Reply-To: webmas...@example.com' . "\r\n";

mail($to, $subject, $message, $headers);

Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to