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.

Yahoo email error

Featured Replies

I am attempting to send an email in Filemaker with the following:

 

- Outgoing SMTP Server: smtp.mail.yahoo.com.au

- Port: 465

- Connection encryption: SSL

- Authentication: Plain Password

- User name: my email address

- Password: app password generated in Yahoo.

When I run the script I get an error - Unknown Error:20639 and when I click OK my Custom Dialog appears  stating The test email was sent.

My script is as follows:
Set Error Capture On
Send Mail

If Get LastError not = 0

Show Custom Dialog Email Failed

Else

Show Custom Dialog The test email was sent.

Obviously Filemaker is not recognising the error, to show the 2nd Custom Dialog.

 

Any help would be appreciated.

 

22 minutes ago, milky said:

Obviously Filemaker is not recognising the error, to show the 2nd Custom Dialog.

It's hard to tell what is really happening because what you are showing us here:

23 minutes ago, milky said:

If Get LastError not = 0

is not valid code, neither as script nor as a calculation.

Please post the exact script step, either as a screenshot or - even better - by printing out your script to PDF and copy/paste from there.


My guess (!) is that if your script went like:

Set Error Capture [ On ]
Send Mail [ ... ]
If [ Get ( LastError ) ]
   Show Custom Dialog [ "Email Failed." ]
Else
   Show Custom Dialog [ "The test email was sent." ]
End If

it would work as you expect.

 

  • Author

Thanks Comment,

 

My script is as follows:

Menu: Test Send Email

Set Error Capture [ On ]

Send Mail [ Send via SMTP Server; To: "[email protected]"; Subject: "Filemaker Test"; Message: "This is an email sent via smtp"; Name: "xxxx"; Email Address: "[email protected]"; Reply-To Address: "[email protected]"; SMTP Server: "smtp. mail.yahoo.com.au"; Port: 465; Use SSL; Authentication Type:Plain Password; User Name: "[email protected]"; Password: "xxxxxxxx" ] [ No dialog ]

If [ Get ( LastError ) ≠ 0 ]

          Show Custom Dialog [ Title: "Email Failed"; Message: "Error Code:" & Get ( LastError ); Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]

Else

          Show Custom Dialog [ Title: "Email Sent"; Message: "The test email was sent"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No”]

End If

 

The error message is appearing (as shown in the image below) after running the script.

After I click ok on the error message, the Custom Dialog "The test email was sent" appears, which should mean that the email was sent, but nothing is sent.

Unknown Error 20639.jpg

I am puzzled.

From what I have read, such error can be caused by an antivirus program.

But I have no idea why the error message isn't suppressed by turning error capture on or why the error itself is not captured.

 

  • Author

Thanks Comment,

 

I tried to send an email using File/Send/Mail and this worked correctly.

I then re-ran the script and this also worked, so maybe there was something in the File/Send/Email which overcame any issues???

 

Thank you for your assistance.

12 hours ago, milky said:

maybe there was something in the File/Send/Email which overcame any issues???

I doubt it, but I wasn't there, so ...

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.