Jump to content

Trouble setting up Mail script via gmail SMTP


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

Recommended Posts

I've been working for many hours trying to configure the SMTP settings so that FM10 can send email directly, rather than through my email client. (This is necessary if the email is to work over IWP.)

I gather from reading other forum posts on this topic that a lot of other people have run into the same problem. But I've tried all the solutions I've seen posted, and nothing has worked.

What I've done so far:

1) copied account info from my email client

2) set the port # to 465 and the password to SSL, plain password

3) left the name field blank

4) tried sending mail via Earthlink's SMTP (where I also have an account)

5) tried setting the gmail account info (username, email address, password) using text fields with global storage

What happens when I run the script:

a dialogue box which reads "The connection was refused by the SMTP server."

Here's a picture of the SMTP config box (with my account info made anonymous);)

smtpsettings.png

By chuck_henebry at 2009-07-19

Edited by Guest
Link to comment
Share on other sites

The mail server should just be smtp.gmail.com

There has been some mixed success reviews about SMTP with gmail.

First and foremost, I would check to see if any firewalls are blocking those ports. You can use a telnet to check if you have access.

telnet smtp.gmail.com 25

telnet smtp.gmail.com 465

telnet smtp.gmail.com 587

Link to comment
Share on other sites

  • 10 years later...

Howdy, all:

I bumped this thread 'cause it's nearly eleven years old, but I'm having the same problem today: I can't get FMP v.18 to send an e-mail through gmail; I get the error message, "Unable to log into the SMTP server." 

Here's what I entered (redacted), attached. Is there a setting I need to tweak in FMP or in my mail account on gmail?

Thanks in advance for your reply.

Rich

 

 

Screen Shot 2020-03-09 at 11.13.01 AM.png

Edited by WF7A
Link to comment
Share on other sites

I spoke too soon--I fixed it. There's a setting in gmail to allow unsecure 3rd-party apps access to your account.

 

  1. Go to your Google Account.
  2. On the left navigation panel, select Security.
  3. On the Third-party apps with account access panel, select Manage third-party access
  4. Select the site or app you want to remove.
  5. Select Remove Access.

...but in this case, instead of Remove Access (in Step 5), you'll enable it.

Edited by WF7A
Link to comment
Share on other sites

Keep in mind that Google is going to take away that kind of 'basic authentication' (or less secure as they call it) for the SMPT protocol and other protocols.

Consider switching over to their APIs as quickly as you can.

Here's a write-up for Office 365, it has links to the Google announcements and some links to other community blog posts that show how to use the Google APIs

 

https://www.soliantconsulting.com/blog/microsoft-graph-api-filemaker-one/

 

  • Thanks 1
Link to comment
Share on other sites

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