Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

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

Posted

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

This topic is 5065 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.