You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Patrick Lambourne on Wed 11 Apr 2007 in response to HTML Emails The Easy Way
Changing the from address
This technique works fine if you want the from address of the email to beeither the user or the agent signer. However sometimes you want to be able to
control the from address programatically.
For plain text emails this is quite easy - you just need to set a field called
INetFrom with a value of the email address that you want to use. However the
only way I could get this to work for html emails was to set fields called
'From' and 'SMTPOriginator' with the value required and replace the call to
NotesDocument.Send with saving the document in the mail.box database on the
server.
If anyone knows of a better approach then please share...