Octavian Rasnita wrote:
Hi all,
I want to send a test message with the following specifications:
1. The message is sent by [EMAIL PROTECTED]
2. The message is sent to the following recipients: [EMAIL PROTECTED], [EMAIL PROTECTED]
3. The message has the subject: [EMAIL PROTECTED]
4. The message has the following header: From: Me<[EMAIL PROTECTED] To: Multiple recipients<recipients.info>
5. The body of the message is:
Test
Can I use mail() function for this?
Thank you.
Teddy
sure you can :)
just do
mail('[EMAIL PROTECTED], [EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'test', 'From: Me <[EMAIL PROTECTED]>');
more info: (http://www.php.net/manual/en/function.mail.php)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php