all groups > iis smtp nntp > april 2005 >
You're in the

iis smtp nntp

group:

Email error in ASP


Email error in ASP Kia Fluker
4/21/2005 11:16:18 AM
iis smtp nntp:
Can someone help?

here's the code:

dim objNewMail ' as email object
set objNewMail = Server.CreateObject("CDO.Message")

objNewMail.From = "<support@photobooks.com>"
objNewMail.To = "<takia@photobooks.com>"
objNewMail.Subject = "Photo Upload"
objNewMail.BodyPart.ContentMediaType = "multipart/alternative"

objNewMail.HTMLBody = "Photos have been added which need to be cropped &
uploaded to Chicago"

objNewMail.TextBody = "Photos have been added which need to be cropped &
uploaded to Chicago"

objNewMail.Send
set objNewMail = Nothing


Here's the error:

"CDO.Message.1 error '80040220' The "SendUsing" configuration value is
invalid"


Re: Email error in ASP jeff.nospam NO[at]SPAM zina.com
4/21/2005 8:15:44 PM
On Thu, 21 Apr 2005 11:16:18 -0700, Kia Fluker <takia@photobooks.com>
[quoted text, click to view]

Set a SendUsing configuration that is valid. :)

See:

http://www.aspfaq.com/show.asp?id=2026

Re: Email error in ASP Kia Fluker
4/22/2005 10:47:14 AM


Thanks Jeff

It works perfectly!

AddThis Social Bookmark Button