5 replies
by jay eckles
by ae_maillist
I tried to markup the body but it did not work... like this...
sbody = "" & _
"Message" & _
"" & _
"" & _
"From: Anders Eriksson [ae@aeit.com]
Sent: den 7 september" & _
"2001 10:11
To: ae@aeit.com
Subject: HTML
" & _
"
Test
" & _
"
" & _
""
by andrew
Are you using Windows 2000? If yes, then the following works nicely:
(set a reference to CDOSYS.DLL)
Dim oMessage As CDO.Message
Dim sBody As String
sBody = "From: Anders Eriksson [ae@aeit.com]
" & _
"Sent: den 7 september 2001 10:11
" & _
"To: ae@aeit.com
" & _
"Subject: HTML
" & _
"
"Test
" & _
"
"
Set oMessage = New CDO.Message
With oMessage
.HTMLBody = sBody
.To = "andrew@williamscomputing.com"
.From = "andrew@williamscomputing.com"
.Send
End With
by ae_maillist
by ae_maillist
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending