Saturday, March 24, 2012

SmtpMail

Hello, I am looking through and example here about how to send mail out of
an ASP.Net application (SmtpMail.Send(FromEmailAddr, ToEmailAddr, Subject,
EmailBody). When I enter the command, it fails with a "SendUsing"
configuration is invalid.

I am operating from a Windows XP machine - a standalone P/C. Must I have a
mail server configured on my local workstation for this to work? I set the
SmtpMail.SmtpServer to the address that I use in Outlook for my mail, but
not luck.

Thanks inadvance for your assistance!!Hi,

see these threads at ASP.NEt Forums. They answer your question:

http://www.asp.net/Forums/ShowPost...1&PostID=268037
http://www.asp.net/Forums/ShowPost...=1&PostID=25229

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Jim Heavey" <JimHeavey@.nospam.com> wrote in message
news:Xns94376EDEFEB48JimHeaveyhotmailcom@.207.46.24 8.16...
> Hello, I am looking through and example here about how to send mail out of
> an ASP.Net application (SmtpMail.Send(FromEmailAddr, ToEmailAddr, Subject,
> EmailBody). When I enter the command, it fails with a "SendUsing"
> configuration is invalid.
> I am operating from a Windows XP machine - a standalone P/C. Must I have
a
> mail server configured on my local workstation for this to work? I set
the
> SmtpMail.SmtpServer to the address that I use in Outlook for my mail, but
> not luck.
> Thanks inadvance for your assistance!!

0 comments:

Post a Comment