Lansa Integrator smtpmailservice
Posted: Wed May 03, 2023 1:27 pm
Hi all,
I am having an issue displaying the email content correctly.
I am using the Lansa Integrator smtpservice to send emails with a large html content (type *html), so passing the body content as a list instead of a parameter.
The emails is sent successfully, but the email body is being delivered as an attachment and not displayed as the body of the email.
If I display the content of the attachment in a browser it's valid.
The content of the email body can be found in the IDE sample code: Reusable Part xUserAccountControl (XUSERACNT) method SendEmailRequest. I am converting the code to use integrator instead of depending on the SendGrid third party service. It's the VL Web Tasks sample application.
Any assistance would be appreciated getting the body to display in the email, instead of an attachment.
Regards,
David
I am having an issue displaying the email content correctly.
I am using the Lansa Integrator smtpservice to send emails with a large html content (type *html), so passing the body content as a list instead of a parameter.
The emails is sent successfully, but the email body is being delivered as an attachment and not displayed as the body of the email.
If I display the content of the attachment in a browser it's valid.
The content of the email body can be found in the IDE sample code: Reusable Part xUserAccountControl (XUSERACNT) method SendEmailRequest. I am converting the code to use integrator instead of depending on the SendGrid third party service. It's the VL Web Tasks sample application.
Any assistance would be appreciated getting the body to display in the email, instead of an attachment.
Regards,
David