Emailed URL won't open

User has email with urls embedded. When user clicks the link nothing happens. When user double clicks the link, a new memo is opened and the TO: field contains his own address. Had the user enable “Disable embedded browser for MIME email”, exit notes and test. Also changed browser to the notes embedded and tested. Then, changed it to IE and tested. I open the user’s mail file, open the email, click the link and it works. If I double click it puts the email in edit mode. Seems like I’m missing something obvious…

Subject: 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

Subject: Body Text Stuff

FYI, I Left out some HTML you could include in the body Text:

bodyText = “” + Chr(10) + “” + Chr(10) + Chr(9) + _

“<META http-equiv=”“Content-type”" content=““text/html; charset=iso-8859-1"”>” + _

Chr(10) + Chr(9) + “” + subjectText + “” + Chr(10) + “” + _

Chr(10) +“” + Chr(10) + “” + Chr(10) + bodyText + _

Chr(10) + “” + Chr(10) + “” + Chr(10) + “”

Subject: basic vs standard

This user is switching to basic with the -sa switch. He opens his inbox, opens the email, clicks the link and the site opens. He then shuts down notes, removes the -sa switch, launches notes, opens the same email, clicks the same link and then nothing happens. Double clicking opens the new memo where his address is in the TO: field.