You are here: Re: [PHP] Mail problem with PEAR « PHP « IT news, forums, messages
Re: [PHP] Mail problem with PEAR

Posted by Josip Dzolonga on 04/12/05 15:59

On вто, 2005-04-12 at 12:15 +0200, marc serra wrote:
> Hi, i want to send an email with an attached file using PEAR classes. I
> succeed to do it with one recipients and more.
>
> I use an external SMTP to send it. My problem is that when i want to
> send an email with for example 4 recipients and 1 attached file, the
> mail is send 4 times to the SMTP server. Is it possible to use PEAR mail
> function to send it 1 time to SMTP server and after that SMTP server
> send it to the 4 recipients ?

Yes, set mail headers for CC and BCC. I'm not very familiar with PEAR's
package for sending mail, but I'm more than sure that it has feature to
set headers. Looking at the manual ( www.php.net/mail ) would be also an
excellent idea, since there are this kind of code examples.

Hope this helps,
Josip Dzolonga
http://josip.dotgeek.org

 

Navigation:

[Reply to this 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

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