Regarding "same session" and dumb mailers (like aspSmartMail). Would this vbscript code send mail in one or two sessions? Or, what defines a session when sending using a dumb mailer? Is it the creation of the aspSmartMail object or calling its SendMail method?
<%
obj = CreateObject("AspSmartMail.SmartMail")
obj.SenderAddress = "someone@domain.com"
obj.Recipients.Add "john.doe@domain.com", "John DOE"
obj.Subject = "Hello John"
obj.Body = "Dear John,..."
obj.SendMail
obj.Recipients.Clear
obj.Recipients.Add "kees.visser@domain.com", "Kees Visser"
obj.SendMail
set obj=Nothing
%>
This would definitely be 1 session:
<%
obj = CreateObject("AspSmartMail.SmartMail")
obj.SenderAddress = "someone@domain.com"
obj.Recipients.Add "john.doe@domain.com", "John DOE"
obj.Recipients.Add "kees.visser@domain.com", "Kees Visser"
obj.Subject = "Hello John"
obj.Body = "Dear John,..."
obj.SendMail
set obj=Nothing
%>
Is the fix on 4.72 available?
<p>Regarding "same session" &nbsp;and dumb mailers (like aspSmartMail).&nbsp;Would this vbscript code send mail in one or two sessions? Or, what defines a session when sending using a dumb mailer?&nbsp;Is it the creation of the&nbsp;aspSmartMail object or calling its SendMail method?&nbsp;</p><p>&lt;%
obj = CreateObject("AspSmartMail.SmartMail")</p><p>obj.SenderAddress = "someone@domain.com"
obj.Recipients.Add "john.doe@domain.com", "John DOE"
obj.Subject = "Hello John"
obj.Body = "Dear John,..."
obj.SendMail
</p><p>obj.Recipients.Clear
obj.Recipients.Add "kees.visser@domain.com", "Kees Visser"
obj.SendMail
set obj=Nothing
%&gt;</p><p>&nbsp;This would&nbsp;definitely&nbsp;be 1 session:</p><p>&lt;%
obj = CreateObject("AspSmartMail.SmartMail")</p><p>obj.SenderAddress = "someone@domain.com"
obj.Recipients.Add "john.doe@domain.com", "John DOE"
obj.Recipients.Add "kees.visser@domain.com", "Kees Visser"
obj.Subject = "Hello John"
obj.Body = "Dear John,..."
obj.SendMail
</p><p>set obj=Nothing
%&gt;</p><p>Is the fix on 4.72 available?</p>