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.

Send Mail via SMTP fails on WebDirect

Featured Replies

I have an application where the registrant receives a confirmation email via SMTP.  The database is FM 14 hosted on a FM Server.  The Send Mail works fine in FM Pro but I get the message 'The Email(s) Failed to Send Successfully'.  I have tried running the script on the server as well with the same result.

Code:

[Script]

Perform Script on Server [Wait for completion; "ActivationEmail"; Parameter: List ( Get ( AccountName) ; Get ( FileName) )

[ActvationEmail]

Send Mail [Send via SMTP Server; No dialog; To: MiddleValues ( Get ( ScriptParameter ) ; 1 ; 1 ); Subject: "Email Verification";

Message: "Click the link below to activate your account.¶¶ "&"http://fmserver/webd#"&Substitute (MiddleValues ( Get ( ScriptParameter ) ; 2 ; 1 );¶;"")&"?script=VerifyEmail&param="&MiddleValues ( Get ( ScriptParameter ) ;1 ; 1 )

I've been reading that the Send Mail function doesn't work on WebDirect with the No Dialog option.  Is there a work around?  How can I send an email to the registrant so they can activate their logon?

You can send via SMTP from WebDirect:

"FileMaker WebDirect also does not support the Perform without dialog option when sending mail via an email client." 

Which would indicate that something else is the issue - I'd check that the parameter is being passed in correctly, and write some error trapping around the script to work out exactly what...

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.