Jump to content


Photo

emailing data from a php script


  • Please log in to reply
2 replies to this topic

#1 RSprinkel

RSprinkel
  • Members
  • PipPipPip
  • Advanced Member
  • 69 posts

Posted 18 June 2006 - 11:47 PM

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.


RSprinkel
A PHP/MySQL NOVICE I AM

#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 19 June 2006 - 01:44 AM

mail("me@mydomain.com, you@yourdomain.com", $subject, $message, $headers);

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

#3 RSprinkel

RSprinkel
  • Members
  • PipPipPip
  • Advanced Member
  • 69 posts

Posted 19 June 2006 - 02:01 AM

Thanks, I thought that was it but wasn't 100% sure.

Again Thank You
RSprinkel
A PHP/MySQL NOVICE I AM




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users