Hi Paul,
TennP@... wrote:
>
> Case of
> : (Not(ErrorCheckingMail ("New";SMTP_New ($smtp_ID))))
> : (Not(ErrorCheckingMail ("Set Port";IT_SetPort (2;vEmailPort))))
> : (Not(ErrorCheckingMail ("Auth";SMTP_Auth
> ($smtp_ID;vEmailUserName;vEmailUserPassword;0))))
> : (Not(ErrorCheckingMail ("Host";SMTP_Host ($smtp_ID;vEmailSMTP;0))))
> : (Not(ErrorCheckingMail ("To";SMTP_From ($smtp_ID;vEmailFromDefault;1))))
> : (Not(ErrorCheckingMail ("New";SMTP_To ($smtp_ID;$1->;1))))
> : (Not(ErrorCheckingMail ("Body";SMTP_Body ($smtp_ID;vEmailText;1))))
> : (Not(ErrorCheckingMail ("Subject";SMTP_Subject
> ($smtp_ID;vEmailSubject;1))))
> : (Not(Attachments ($smtp_ID)))
> : (Not(ErrorCheckingMail ("Send";SMTP_Send ($smtp_ID))))
> : (Not(ErrorCheckingMail ("Clear";SMTP_Clear ($smtp_ID))))
>
could it be that initiating a new SMTP session for each message, is what
is causing the delays? In typical Batch processing, one tries to
eliminate as much overhead as possible. The new series of commands would
then be:
New
Set port
Auth
Host
... (loop for each mail) ...
From
To
Subject
Body
Attachments
Send
... (end loop) ...
Clear
Depending on the type and content of the mailing, the "From", "Subject",
"Body" and/or "Attachments" field(s) might be set outside the loop too.
Haven't tested this for speed, though it should work technically.
Hope this helps,
--
Justus Janssen
Arpa - Veldhoven, Netherlands
**********************************************************************
Live Data Mapping Services with 4D v11 SQL
See it for yourself -
http://www.4d.com/solutions/ndwater.html4D Internet Users Group (4D iNUG)
FAQ:
http://www.4D.com/support/faqnug.htmlArchive:
http://lists.4D.com/archives.htmlOptions:
https://lists.4d.com/mailman/options/4d_techUnsub: mailto:
4D_Tech-Unsubscribe@...
**********************************************************************