Jump to content
Updating IPB tonight Read more... ×

Archived

This topic is now archived and is closed to further replies.

RSprinkel

emailing data from a php script

Recommended Posts

Hi all,

I have a script that emails me when a member fills out a form. I would like the data emailed to my other admins but am unsure how to add the extra email addy's to the command.

Here is what I have now:

mail("me@mydomain.com", $subject, $message, "From: Webmaster<me@mydomain.com>\nX-Mailer: PHP/" . phpversion());


Thanks very much in advance.

Share this post


Link to post
Share on other sites
[code]mail("me@mydomain.com, you@yourdomain.com", $subject, $message, $headers);[/code]

[a href=\"http://www.php.net/mail\" target=\"_blank\"]http://www.php.net/mail[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.