Newbies garzada Posted March 7, 2011 Newbies Share Posted March 7, 2011 Hi there, I am fairly new to Filemaker and the Email Plugin, My question is when should I start the connection to the SMTP server. I have to send a two file attachment email to several clients one file is a pdf and the other a xml, I send this emails once a week, so should I call a script with the open connection and then start the emailing process for each client and then close it at the end of a loop or should I open and close the connection with each email sent? Thanks for your response Link to comment Share on other sites More sharing options...
Smef Posted March 8, 2011 Share Posted March 8, 2011 It shouldn't make too much of a difference if you open and close it with each record, unless your server has a re-connection limit in place. To avoid this sort of problem I would recommend: Connect Loop Create Attach Send Next Record End Loop Disconnect Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4791 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now