Results 1 to 2 of 2

Thread: [RESOLVED] php email

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    233

    Resolved [RESOLVED] php email

    hi guys, how to add an email address for this statement:

    mail('[email protected]',"title",$text,$headers);

    to add another email for this can put like this:
    mail('[email protected],[email protected]',"title",$text,$headers);

    what's the correct statement for this? thanks in advance.:
    The taller the bamboo grows the lower it bends...

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jan 2009
    Posts
    233

    Re: php email

    Hi guys, found this on php.net manual. solved my issue.

    it can be accomplished using this method. hope this will help one day with beginners like me.

    to send to multiple recepient can do like this:

    $to = '[email protected]' . ', '; // note the comma
    $to .= '[email protected]';

    and on the mail statement:

    // Mail it
    mail($to, ,"title",$text,$headers);
    The taller the bamboo grows the lower it bends...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width