jatpannu
asked on
Changing the From value when sending mail triggered by a WebQuerySave
I'm attempting to send mail to a SMTP/POP mail server (external mail domain) from a Domino server when a user saves a document via WebQuereySave. When viewed, I'd like the From address to be different than that of the Server. How do I specify a different address and how can do that accross multiple datases? I would like this return address to be an Internet Mail address and not a Notes address. Here is an example of what I see when viewing the mail using outlook:
From: server/notesdomain%notesdo main@inter netdomain. com
(i.e. sev1/acme%acme@loonytoons. com)
To: user@internetdomain.com
Subject....
Any help would be greatly appreciated.
jat
From: server/notesdomain%notesdo
(i.e. sev1/acme%acme@loonytoons.
To: user@internetdomain.com
Subject....
Any help would be greatly appreciated.
jat
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yeap ! Principal field should do the trick for you. Copying the document to the mail.box is making a mess here.
:-)
:-)
ASKER
Thanks for the reply. I tried it and the following resulted:
Outlook inbox displayed the msg, but the from was blank.
Upon opening the email, the From fied in the header still has the server address.
help?
Outlook inbox displayed the msg, but the from was blank.
Upon opening the email, the From fied in the header still has the server address.
help?
did you stamp the doc.From = "ADDRESS" ???
What server version are you running for your outbound SMTP mail? Support for from/sent by was added somwhere on the 4.6 versions.
ASKER
doc.PRINCIPAL = "FROM_EMAIL"
before sending?