Re: [twsocket] ...SMTPClient

2013-01-27 Thread Raymond Kennington

Hello Arno.

Thanks for mentioning RcptNameAdd(...).

It's parameters are strings.

I need to add up to 200,000 names to the ToList, which could be about 4,000,000 
characters.
As each email address is added to the list, the memory handling might make this 
become very slow.

Can T...SMTPCli handle this quantity?

What are the alternative ways? (You mentioned this was the easiest way.)

It would be best for me if I could just set one name for the Bcc.

Thanks.
Raymond

Will

On 27/01/2013 03:03, Arno Garrels wrote:

Raymond Kennington wrote:

Hello.

One of my developed has been using this component to send messages
for 13 years.
No problems! Thanks!!

Now I am incorporating the code into another project, and I would
rather use Bcc instead of cc - because I don't want the receiver to
know who else the message is being sent to.

Is Blind carbon copy possible with this component?


Of course it is. The easiest way is to use method
RcptNameAdd(const ToList, CcList, BccList: string) as shown
in MailSnd demo in order to specify the recipients.
List separator is either ";" or ",".
A Bcc recipient simply isn't listed in the email header.
Means do neither assign Bcc recipients to property HdrTo nor
to HdrCc.


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ...SMTPClient

2013-01-27 Thread Angus Robertson - Magenta Systems Ltd
> I need to add up to 200,000 names to the ToList, which could be 
> about 4,000,000 characters.
> Can T...SMTPCli handle this quantity?

Most ISPs have blocks on their SMTP relay servers to prevent mass mailing
by spammers, typically a few hundred or thousand messages a day, after
which your account may be blocked.  There may also be a limit of 25 to
100 recipients per message.  

So unless you are sending using your own SMTP relay server, sending
200,000 emails is unlikely to be an issue, you won't be sending any atall.


I'm sure there is a limit in the SMTP specs for recipients, but you are
more likely to hit an ISP limit first. 

Also, you may find emails send using BCC are more likely to be detected
as spam, it's much better to individually address emails, although still
within your ISP limits.   This is how my own mass mailer works, written
with ICS 15 years ago and hardly touched since.  

Angus



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be