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

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

What type of message is it?

Just as an FYI, learned from experience. If you have an e-mail generated from Domino, like an e-mail generated from @MailSend (Formula) or Send (Lotusscript), it is typically just a text e-mail. That means it will be up to the mail viewing program to determine if a "URL" in it is in fact a url or something else. We had so many problems with this we went a different direction. I've been using code that sends the message as an HTML e-mail message. This way the mail viewer doesn't need to play hit-and-miss when determining the type. We haven't had a hitch since.

Example below:

Dim body As NotesMIMEEntity
Dim header As NotesMIMEHeader
Dim stream As NotesStream
Set stream = session.CreateStream

session.ConvertMIME = False ' Do not convert MIME to rich text
Set maildoc = New NotesDocument( db )
maildoc.Form = "Memo"
Set body = maildoc.CreateMIMEEntity
Set header = body.CreateHeader("Subject")
Call header.SetHeaderVal( subjectText )
Set header = body.CreateHeader("Reply-To")
Call header.SetHeaderVal( workflowdoc.ReplyTo(0) )
Set header = body.CreateHeader("To")
Call header.SetHeaderVal( v )
Call stream.WriteText( bodyText )
Call body.SetContentFromText( stream, "text/html; charset=iso-8859-1", ENC_NONE )

Call maildoc.Send( False )
session.ConvertMIME = True ' Restore conversion


Feedback response number WEBB8ATQXQ created by ~John Desweskiakol on 11/02/2010

Emailed URL won't open (~Laura Quetvelu... 1.Nov.10)
. . What type of message is it? (~John Desweskia... 2.Nov.10)
. . . . Body Text Stuff (~John Desweskia... 2.Nov.10)
. . . . . . basic vs standard (~Laura Quetvelu... 17.Nov.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS