Attach this after you declare the CDO.Message variable:
With objConfig.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
.Update
End With
On Fri, 11 Feb 2005 19:23:54 -0000, bef218 <[EMAIL PROTECTED]> wrote:
>
> Ok. I changed the code to use CDO.Message. Now I get the following
> error message:
>
> CDO.Message.1 error '80040220'
>
> The "SendUsing" configuration value is invalid.
>
>
> I found something on the web about.....
>
> By default, if SmtpMail.SmtpServer is not set, System.Web.Mail is
> supposed to use localhost as the default property. However, for some
> reason this doesn't appear work. If you are using the local SMTP
> Service to send emails, you may try the following values:
> "127.0.0.1"
> "localhost"
> "the_machine_name_here"
> "the_real_dns_name_here"
> "the_machine_IP_Address_here"
>
> I'm lost here. Can you help me?
>
>
>
>
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
> ________________________________
> Yahoo! Groups Links
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/