Reply to PEAR, Mail Queue and Mail Mime

Your name:

Reply:


Posted by P@ on 11/09/06 15:39

Hello,

I have some trouble with my application.
It is written with PEAR, SMARTY ....
I should send an email to me and with Bcc to 50's else adresses.
But it send it just to me.
I am on an easyPhP server.
Here is my code

$mail_queue =& new Mail_Queue($db_options, $mail_options);

$from = 'my@email.org';
$from_name = "MY";
$replyTo = "my@email.org";
$message = stripslashes($msg);
$from_params = empty($from_name) ? '"'.$from_name.'" <'.$from.'>' :
'<'.$from.'>';
$hdrs = array( 'From' => $from_params,
'Reply-To'=> $replyTo,
'To' => $from,
'Bcc' => $liste,
'Subject' => $sujet );

$mime =& new Mail_mime();
$mime->setTXTBody($msg);
$mime->addAttachment($pdf, $attach_type);
$body = $mime->get();
$hdrs = $mime->headers($hdrs);
$seconds_to_send = 1;
$delete_after_send = true;
$id_user = 7;
$mail_queue->put('','My Organisation',$from, 'my@email.org', $hdrs,
$body, $seconds_to_send, $delete_after_send, $id_user);


$liste follow this pattern "titi@tito.fr<titi@tito.fr>,
tita@tito.fr<tita@tito.fr>,titz@tito.fr<titz@tito.fr>,
tite@tito.fr<tite@tito.fr>,"

How can I do to send My emails to the Bcc's addresses too ???

Does someone know something about this ???
Thanks for your help
P@

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация