|
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]
|