IIS sending email

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Iw

    IIS sending email

    Hi!

    I'm trying to send email from my asp.net aplication.
    But when I'm trying to send, I have the exception:
    "Cannot get IIS pickup directory"

    Probably I don't have Smtp server.
    If I have Windows Server 2003, is it free or not ?
    What should I do to have smtp server in my IIS server ?

    Thank for help

  • Alberto Poblacion

    #2
    Re: IIS sending email

    "Iw" <iwek1@amorki.p lwrote in message news:gfl8r4$2sv $1@news.onet.pl ...
    I'm trying to send email from my asp.net aplication.
    But when I'm trying to send, I have the exception:
    "Cannot get IIS pickup directory"
    >
    Probably I don't have Smtp server. If I have Windows Server 2003, is it
    free or not ?
    What should I do to have smtp server in my IIS server ?
    The SMTP server is included with Windows 2003, just not installed by
    default. But you shouldn't need it to send mail from your asp.net
    application. If you are using System.Net.Mail to send your messages, just
    configure the address of the smtp server when you construct your SmtpClient
    object. This can be the address of any smtp server which can relay your
    mail; it doesn't need to be installed on the same server as your IIS.


    Comment

    • imbirek8

      #3
      Re: IIS sending email

      "Alberto Poblacion" <earthling-quitaestoparaco ntestar@poblaci on.orgwrote
      in message news:ebJOK9vRJH A.6052@TK2MSFTN GP02.phx.gbl...
      [...]
      >Probably I don't have Smtp server. If I have Windows Server 2003, is it
      >free or not ?
      >What should I do to have smtp server in my IIS server ?
      >
      The SMTP server is included with Windows 2003, just not installed by
      default. But you shouldn't need it to send mail from your asp.net
      application. If you are using System.Net.Mail to send your messages, just
      configure the address of the smtp server when you construct your
      SmtpClient object. This can be the address of any smtp server which can
      relay your mail; it doesn't need to be installed on the same server as
      your IIS.
      So SMTP server is on CD with Windows2003 ?
      Is it difficult to install and configure it ?



      Comment

      • Alberto Poblacion

        #4
        Re: IIS sending email

        "imbirek8" <imbirek8@op.pl wrote in message
        news:gfmgkv$ibq $1@news.onet.pl ...
        So SMTP server is on CD with Windows2003 ?
        Is it difficult to install and configure it ?
        From Control Panel, "Add or Remove Programs", "Add or Remove Windows
        Components", "E-Mail Services", "Details", select POP3 and notice the help
        message informing you that "SMTP will also be installed".
        Then open Computer Management, "Services and Appications", "Intenet
        Information Services Manager", and notice a new branch at the end labelled
        "Default SMTP virtual server". This is where you configure your SMTP server.
        If you need help with this, it is best asked on one of the Windows Server
        forums, rather than the C# newsgroup.

        Comment

        Working...