HTML mail die ook geschikt is voor Lotus Notes

Pagina: 1
Acties:
  • 33 views sinds 30-01-2008

  • jicho
  • Registratie: Januari 2003
  • Laatst online: 19-07 11:10
Hai!

'k Heb de volgende code van een site geplukt om plaatjes met een HTML mail mee te sturen:

<%
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.Importance = 1
objMail.From = request("strName") & "<" & request("strEmail") & ">"
objMail.To = request("strTo")
objMail.Subject = "Example of HTML EMail with Embeded Image"

' this is my messages HTML
strMsg = "" & _
"<html><body bgcolor=red>" & _
"<a href=""http://www.RealWorldASP.com/"">[img]""logo.gif""[/img]" & _
"</a><p><font face=verdana>Example of a HTML Email with embedded Image<P><br>" & _
request("message") & _
"</body></html>"

' set the format of the email to html, etc
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = strMsg

' attach our image file and set the url to simply logo.gif
objMail.AttachURL server.MapPath("logo.gif"), "logo.gif"
objMail.Send

' destroy the email object
Set objMail = Nothing
%>

Nu werkt dit prima in Outlook en b.v. Hotmail, maarrr in Lotus Notes krijg je de afbeelding niet te zien :(

Heeft iemand een idee hoe je dit wel voor elkaar krijgt?

Tnx.

  • whoami
  • Registratie: December 2000
  • Laatst online: 10:17
Mail de maker van het script.

P&W is niet de plaats waar support geleverd wordt voor scripts van derden.

Verder geef je zowiezo ook al niet genoeg info; wat is niet werken, wat gaat er niet goed, wat heb je zelf al geprobeerd....

Zie ook de P&W FAQ.

https://fgheysels.github.io/


Dit topic is gesloten.