Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Emailing through XSLT stylesheets


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

Recommended Posts

Posted

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?

Posted

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

Posted

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

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