Skip to main content
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:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~James Fezluplopakol 29.Oct.03 05:07 PM a Web browser
Domino Designer 6.0.1 CF2 Windows 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

' use the doc to set From

Call mailDoc.ReplaceItemValue("From", "NOREPLY@mydomain.com")

'or
' use the MIME header to set From

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?

Thanks,
Shawn






Sending MIME messages using LotusSc... (~James Fezluplo... 29.Oct.03)
. . RE: Sending MIME messages using Lot... (~Hal Prekroster... 30.Oct.03)
. . . . RE: Sending MIME messages using Lot... (~James Fezluplo... 30.Oct.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS