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.

Error on sending email using CDML

Featured Replies

  • Newbies

This is my last attempt to find an answer before I give up. I'm trying to get a test page up and running that will have FM Pro (not server) send an email. I'm copying and pasting the sample text in the CDML reference. When I click on the "Send Message" button and then check the Error.log I get the error message: "ERROR: -101. Error occurred while sending email." No email is ever received. I check the -MailHost and -MailTo values and they are valid. Any clue what I could be doing wrong? Could I have the MailFormat file in the wrong directory? What directory should it be in if I'm using the Web Companion to publish the db?

Thanks in advance.

Bob

  • 1 year later...

Bob, did you ever find an answer to this issue? Searching on the web, I can't find anyone with answers to this, even with the very specific error code, etc., which would normally lead one straight to the answer.

Howdy! The CDML -mail functions work but if I remember correctly, they were kinda particular. I had much better luck retyping instead of using copy/paste. Debugging these could be a pain, though, because it's hard to tell when to lable a message "lost in cyberspace" or if it's just taking a long time to arrive. I began testing with a local SMTP server which also had POP accounts so that delivery would be local and would only take 1-2 seconds. I used the long address [email protected] so that there would be no delays and would not have to go out into the internet to come back again.

If you really get stuck, I'll try to dig up some old files for you with working code for you to download. But the CDML -mail tags do work. Of course, your mail server may also be the problem. When you send mail from FileMaker, you are doing so without logging in to your account. Some mail servers reject "anonymous" mail as SPAM. Other servers require authentication (user login) before they will send. Either of the latter will be hard to verify unless you manage the mail server or can ask the person who does.

Good luck!

--ST

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.