Forum Moderators: coopster
This being said, before I start I would like a few suggestions on maybe what to remember, watch out for, functions to use, or even a bit of easier script to create that will get me familiar with these same practises.
Any help is appreciated.
Cheers
>>what to remember,
Different operating systems use different line endings. [webmasterworld.com]
Different operating systems use different Mail Transfer Agents (MTA) [php.net]
>>watch out for,
correct headers, spam filters
>>functions to use,
mail() [php.net]
>>or even a bit of easier script
You may want to peel into one of the more popular message boards scripts, checkout PEAR, or even search for PHP mail tutorials. There are quite a few tips on the mail() function page including this tutorial [zend.com].
<?php...to make sure you have everything configured correctly on the server. Then you can move on to the fun stuff, like attachments, HTML mail, etc.
$to = 'me@example.com';
$from = 'me@example.com';
$subject = 'This is my subject';
$message = 'This is my message';
ini_set('sendmail_from', $from);
mail($to, $subject, $message);
?>