Trying posting the exact errors and code you are using ....

On Tue, Dec 15, 2009 at 9:38 PM, scs <[email protected]> wrote:
> One question from me:
> I am sending an e-mail to one recipient with a subject and body.
> Then I want to send the same e-mail/a copy to someone else such as the admin.
> However, when I try to change the to field or the subject I got errors.
> Zend_Mail does not allow such things.
>
> Yes, adding the next recipient as Bcc is a way but not the preferred one.
> Is there a way for achieving this kind of job?
> //set subject
> //set body
> //set to
> send mail
>
> //update to
> //update subject
> send mail -> gives errors..(something like it does already have a to
> and subject)
>
> thanks
> scs
>
> On Tue, Dec 15, 2009 at 9:17 PM, Alex Howansky <[email protected]> 
> wrote:
>>
>>> 1.) Is the best way of sending a single email to every subscriber to add
>>> their address to the BCC list? Are there any foreseeable problems if the
>>> list gets too big?
>>
>> I wouldn't recommend this technique unless you have only a handful of
>> recipients, as many email servers impose a hard cap on the number of
>> recipients per message. (I believe Gmail has a 100 recipient cap, if I'm not
>> mistaken.)
>>
>>>    2). Is there some sort of return code for addresses that are
>>>    non-existent?
>>
>> No. Zend_Mail simply hands the message off to your mail server's queue. What
>> happens after that (i.e., delivery attempts, failures, etc.) is encapsulated
>> within your mail server's internal environment and is not directly
>> accessible to PHP.
>>
>> If your goal is to detect bounces, I'd recommend using the "unique address
>> per recipient as a return-path" method. E.g., set your return path to
>> '[email protected]' where 12345 is some unique identifier for the
>> recipient. Then you can monitor the messages that come into the bounce
>> inbox, decode the address back into your unique id, and set your software to
>> disable the appropriate recipient.
>>
>> --
>> Alex Howansky
>>
>



-- 

-----------------------------------------
Mark Steudel
P: 206.375.7244
[email protected]

. : Work : .
http://www.mindfulinteractive.com

. : Play : .
http://www.steudel.org/blog

Reply via email to