Reading the activate link URL from the Lotus notes mail
My requirement is to click an link in the lotus notes mail after creating a user name in website .I got the code from earlier forum to get the body of the mail .What i thought if there is a text like "Activate" on click it must takes us to the required website.On somehow it should be in the body itself .but i couldnt able to get url from the body .Does any body tried previously ? any suggestion this is my code
Set oSession = CreateObject("Lotus.NotesSession")
sMailDbName = "mail\mail2\Saikrishna.nsf"
Set oMaildb = oSession.GETDATABASE("", sMailDbName)
If Not oMaildb.IsOpen Then
Set oMailDocs = oMaildb.GETVIEW("$Inbox")
Set oMailDoc = oMailDocs.GetFirstDocument
it doesnt give me the url for the button or link activate
Finally i got how to get the url .. done through MIME ..
Would you mind to post the code here.
I'm thinking that it may assist someone in the near future.
Tags for this Thread