Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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...
Posted (edited)

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...
Posted (edited)

/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
Posted (edited)

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

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