PHP Classes

sending to multiple email addresses

Recommend this page to a friend!

      MIME E-mail message sending  >  MIME E-mail message sending package blog  >  How Can PHP Send Emai...  >  All threads  >  sending to multiple email addresses  >  (Un) Subscribe thread alerts  
Subject:sending to multiple email addresses
Summary:sending to multiple email addresses from a form
Messages:2
Author:sefgsdfg
Date:2010-03-21 22:45:19
Update:2010-03-21 23:05:31
 

  1. sending to multiple email addresses   Reply   Report abuse  
Picture of sefgsdfg sefgsdfg - 2010-03-21 22:45:19
I am not doing bulk email but will sometimes send to 2 or 3 email addresses. The code below works if written into the page. However I am submitting a form where I have an email address field and want to be able to add multiple email addresses separated by a comma and find a way to get them into the code for below. This seems better than the bulk function as I need al addresses to appear in the to field so everyone knows who got the email. SOrry I feel I am missing something real simple here.

$email_message->SetMultipleEncodedEmailHeader('To', array('test1@test.com' => '', 'test2@test.com' => ''));

  2. Re: sending to multiple email addresses   Reply   Report abuse  
Picture of sefgsdfg sefgsdfg - 2010-03-21 23:05:31 - In reply to message 1 from sefgsdfg
sorry just found the answer in another post

phpclasses.org/discuss/package/9/th ...