I have implemented the sending of a PDF created through L&L (we are on version 13) as an
email attachment using the export facility.
This all works fine but we have noticed an oddity.
In the template we set the following MAIL parameter values:
To = set to get the contents of a variable passed to the template
From = set to an email address that the user nominates as being the originator of the
email (eg, "email@example.com")
Subject = set to text about the document being sent (eg, “Your Monthly Statement”)
The ‘To’ and ‘Subject’ header fields in the email are set correctly, but the ‘From’ header
field always seems to get set to the local email account from the email client being used.
Is this normal behaviour?
One of our customers wants the email address he put into the ‘From’ field in the template
to be shown but cannot get this to happen. This has obviously been happening since we
implemented the email processing but has never been noticed before.
Setting the ‘Reply-To’ header field wont work because he does not want the individual
users email address to be shwon at all.
Is there anything that can be done?
If this always happens, why is there a ‘From’ field at all in the template?