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.

Emailing through XSLT stylesheets

Featured Replies

I am trying to send an email using the fmxslt:send_email() function and am having problems figuring out the proper syntax. Anyone know the sytax for sending out emails using xslt?

  • Author

I had the same problem Brian did with the header information. Thank you very much for that.

The email is returning "false" so I know it is not working. Is there anything on the web publishing engine that needs to be configured other than the host?

Just to be sure, what is the host suppose to be?

Thanks,

Nick

I assume you mean the SMTP host? This is the mailserver you use in your organisation. It might have been configured in the way that it rejects messages from senders that are not registered with that host to prevent spam. E.g. if you use in from=username@host a username that is not registered at your host, it might reject your message.

For debugging, you can display the error status by inserting the following line after your fmxslt:send_email() function:

<xsl:value-of select="fmxslt:check_error_status()"/>

Check also the table of error codes in the appendix of your Custom Web Publishing Guide.

Martin

  • Author

I got the error code 10200..."Unknown messaging error"

The error message is not very helpful.

Create an account or sign in to comment

Important Information

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

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.