Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sending emails with TLS encryption

Featured Replies

Hi,

I am trying to configure the plug in to send emails through an Gmail powered account that has SMTP TLS encryption.

When I try to send it I get the following error message:

..... Must issue a STARTTLS command first .....

Is this something that can be done with the plug-in?

Any alternatives or suggestions to work around this issue?

Thanks

David

  • 2 weeks later...

You will need to use SSL when connecting to the server. Make sure to pass the "ssl=1" flag parameter when you are making your connection. You may also need to specify port 587 or 465 in the address,

ex:

EmailConnectSMTP("pop.gmail.com:587"; "myUN"; "myPW"; "ssl=1")

or

EmailConnectSMTP("pop.gmail.com:465"; "myUN"; "myPW"; "ssl=1")

Edited by Guest

  • 2 months later...

/For admin - sorry i should have posted this as a new enquiry, - so i have/

Hi, i've been trying to send an 'email with authentication' using the free version of SM360.

I was using SMPTit_pro from CNS which did the trick, however this solutions seems to look alot easier.

Well, initially it did, - i keep getting the error:

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. v51sm1449027eeh.10

Where do i put the SSL and authentication type?.

And how do I execute the above commmand,

EmailConnectSMTP("pop.gmail.com:587"; "myUN"; "myPW"; "ssl=1")

Where do i put it, - in my external functions list there is no 'emailConnectSMTP' function.

I am simply testing the downloaded free version, by entering the required info into the 'Input variables (parameters) and pressing 'run script'.

The main plugin is installed correctly as i have tested about 5 other Modules within the file.

Hope someone can assist

Many thanks

Laurence

Edited by Guest

I made a mistake in my earlier post. You must use port 465 to connect to gmail using SSL

Set Variable - $connect ; EmailConnectSMTP("pop.gmail.com:465"; "myUN"; "myPW"; "ssl=1") 

You want to put this function in a set variable script step so that the result is easy to check. in an IF statement after the set variable step.

If the EmailConnectSMTP function is not in your external function list then it means that the plugin is either not installed or not enabled. Check and make sure that is is showing in the FileMaker-> preferences -> plugins tab.

Edited by Guest

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.