Jump to content

When and How


This topic is 4791 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.