H
Hugo Lefebvre
Is there a maximum number of emails CDONTS can handle in an asp script? I
have different questions about this.
Question1:
example1:
set objSendMail = createobject("CDONTS.NewMail")
......
objSendMail.To = emailto
objSendMail.CC = emailcc
objSendMail.BCC = emailbcc
objSendMail.Send
set objSendMail = nothing
is there a limit for the length of the strings 'email_to', 'emailcc' and
'emailbcc'?
is the number of e-mailadresses in the strings 'email_to', 'emailcc' and
'emailbcc' limited?
Question2:
I make a loop like this:
x = 0
do while x < 200
set objSendMail = createobject("CDONTS.NewMail")
......
objSendMail.To = emailaddress(x)
objSendMail.Send
set objSendMail = nothing
x = x + 1
loop
where 'emailaddress(x)' is a string of one e-mailaddress (first time:
emailaddres of person1, second time emailaddress of person2, ...)
Is there a limit for the loop: 50 or 100 or more?
The webserver is IIS and, I think, the smtp-server is Exchange Server.
Thanks for an answer.
have different questions about this.
Question1:
example1:
set objSendMail = createobject("CDONTS.NewMail")
......
objSendMail.To = emailto
objSendMail.CC = emailcc
objSendMail.BCC = emailbcc
objSendMail.Send
set objSendMail = nothing
is there a limit for the length of the strings 'email_to', 'emailcc' and
'emailbcc'?
is the number of e-mailadresses in the strings 'email_to', 'emailcc' and
'emailbcc' limited?
Question2:
I make a loop like this:
x = 0
do while x < 200
set objSendMail = createobject("CDONTS.NewMail")
......
objSendMail.To = emailaddress(x)
objSendMail.Send
set objSendMail = nothing
x = x + 1
loop
where 'emailaddress(x)' is a string of one e-mailaddress (first time:
emailaddres of person1, second time emailaddress of person2, ...)
Is there a limit for the loop: 50 or 100 or more?
The webserver is IIS and, I think, the smtp-server is Exchange Server.
Thanks for an answer.