Re: Sending email

From: Date: Sun, 22 Aug 2004 10:31:00 +0000
Subject: Re: Sending email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194414@lists.php.net to get a copy of this message
Octavian Rasnita wrote:
Hi all, I want to send a test message with the following specifications: 1. The message is sent by sender@server.com. 2. The message is sent to the following recipients: dest1@another.com, dest2@another.com. 3. The message has the subject: subject@third.com 4. The message has the following header: From: Me<me@you.net 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('dest1@another.com, dest2@another.com', 'subject@third.com', 'test', 'From: Me <me@you.net>'); more info: (http://www.php.net/manual/en/function.mail.php)

« previous php.general (#194414) next »