This technique works fine if you want the from address of the email to be
either 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...
This technique works fine if you want the from address of the email to be either 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...