SmtpMail

Discussion in 'ASP .Net' started by Jim Heavey, Nov 18, 2003.

  1. Jim Heavey

    Jim Heavey Guest

    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!!
    Jim Heavey, Nov 18, 2003
    #1
    1. Advertising

  2. Jim Heavey

    Teemu Keiski Guest

    Hi,

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

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

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

    "Jim Heavey" <> wrote in message
    news:Xns94376EDEFEB48JimHeaveyhotmailcom@207.46.248.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!!
    Teemu Keiski, Nov 18, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. James J. Foster

    smtpMail Class

    James J. Foster, Jun 30, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    1,033
    Renato Giron
    Jun 30, 2003
  2. Kevin Spencer

    SMTPMAIL on Windows Server 2003

    Kevin Spencer, Jul 29, 2003, in forum: ASP .Net
    Replies:
    9
    Views:
    1,560
    Jim Cheshire
    Jul 30, 2003
  3. Leonard
    Replies:
    2
    Views:
    624
    Leonard
    Aug 20, 2003
  4. Jibu
    Replies:
    3
    Views:
    512
    Jurjen de Groot
    Aug 26, 2003
  5. Leszek
    Replies:
    2
    Views:
    479
    Sherif ElMetainy
    Aug 26, 2003
Loading...

Share This Page