This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~James Fezluplopakol 29.Oct.03 05:07 PM a Web browser Domino Designer6.0.1 CF2Windows 2000
I'd like to know how I can stop Notes from inserting the "From" header in the message. I am setting it using the following code (both don't work, and you can only use one at a time or else you get errors) but I receive the email message with the From header looking like
From: MYNotes_Name/ORG%ORG@mydomain.com
(where MyNotes_Name is my Notes common user name and ORG is my organization in the Domino directory)
CODE:
Dim mailDoc As NotesDocument
Dim body As NotesMIMEEntity
Dim header As NotesMIMEHeader
Set mailDoc = New NotesDocument(db)
Set body = mailDoc.CreateMIMEEntity
Set header = body.CreateHeader("From")
Call header.SetHeaderVal("NOREPLY@mydomain.com")
Is there a setting I need to enable to tell Domino to keep it's hands out of the message? Or is it because I'm using the NotesDocument.send() method? Is there a way around this so I can set the From header?