Problem with sending email from asp.net page using smtp

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

    Problem with sending email from asp.net page using smtp

    hai

    i am requesting your technical support.
    please help me.

    i have been working with this for five days.
    the problem is relating with the smtp.
    i am trying to send an email from the asp.net page.

    earlier it was showing send using not find error.
    this error was solved when set the smtpserver property of smtpmail to the
    IP address of my machine.

    i have done the coding in vb.net
    _____________
    AT THE OFFICE
    SmtpMail.SmtpSe rver = "192.127.1. 69" IP ADDRESS OF MY CLIENT
    MACHINE
    SmtpMail.Send(m sg)
    and set amart host as the name of the server
    on the client machine smtp service is running.
    on the server smtp service is running
    but default smtp virtual server is not there
    _______________ _______________ __

    when i tried at my stand alone machine at home i set it as follows
    SmtpMail.SmtpSe rver = "127.0.0.1"
    SmtpMail.Send(m sg)
    _______________ _______________ _____


    on my stand alone machine using at home default smtp virtual server is there
    and in the services list smtp is running.
    and was able to send mail once.....just once
    after that all messages are sent to the queue folder and to the badmails
    folder thereafter
    default SMTP virtual server is still there and smtp service is still
    running.

    on the network i was not able to send the message at all

    on my stand alone machine which is using at home there is no fire wall and
    is using a dial up connection.

    And at the office we have a network there is firewall also and we are using
    a dsl connection.
    Will firewall create a problem.

    I have tried changing almost every setting in the properties of the default
    smtp server

    At the office on the server machine I cant find the the defaule smtp vitrual
    server when i opend the internet information service .

    since i can't find the default smtp virtual server on the server machine i
    cant change any settings in the property.
    But int the services list it shows SMTP RUNNING

    one default FTP server is there
    But on the client machine i can find the default smtp virtual server

    There is IIS installed on both client machine and the server. and both are
    showing SMTP RUNNING in the services list.

    For each mail sent three files are ther in the badmails folder
    one them contain the error message.
    The specific error code was 0xC00402C7.

    What will i do?

    Will you require any more information to give a solution for this
    Please help me.



  • venkat

    #2
    Problem with sending email from asp.net page using smtp

    hi

    did rely of SMTP is set?

    regards

    G.Venkat

    [color=blue]
    >-----Original Message-----
    >hai
    >
    >i am requesting your technical support.
    >please help me.
    >
    >i have been working with this for five days.
    >the problem is relating with the smtp.
    >i am trying to send an email from the asp.net page.
    >
    >earlier it was showing send using not find error.
    >this error was solved when set the smtpserver property[/color]
    of smtpmail to the[color=blue]
    >IP address of my machine.
    >
    >i have done the coding in vb.net
    >____________ _
    >AT THE OFFICE
    >SmtpMail.SmtpS erver = "192.127.1. 69" IP ADDRESS[/color]
    OF MY CLIENT[color=blue]
    >MACHINE
    > SmtpMail.Send(m sg)
    >and set amart host as the name of the server
    >on the client machine smtp service is running.
    >on the server smtp service is running
    >but default smtp virtual server is not there
    >______________ _______________ ___
    >
    >when i tried at my stand alone machine at home i set it[/color]
    as follows[color=blue]
    >SmtpMail.SmtpS erver = "127.0.0.1"
    > SmtpMail.Send(m sg)
    >______________ _______________ ______
    >
    >
    >on my stand alone machine using at home default smtp[/color]
    virtual server is there[color=blue]
    >and in the services list smtp is running.
    >and was able to send mail once.....just once
    >after that all messages are sent to the queue folder and[/color]
    to the badmails[color=blue]
    >folder thereafter
    >default SMTP virtual server is still there and smtp[/color]
    service is still[color=blue]
    >running.
    >
    >on the network i was not able to send the message at all
    >
    >on my stand alone machine which is using at home there[/color]
    is no fire wall and[color=blue]
    >is using a dial up connection.
    >
    >And at the office we have a network there is firewall[/color]
    also and we are using[color=blue]
    >a dsl connection.
    >Will firewall create a problem.
    >
    >I have tried changing almost every setting in the[/color]
    properties of the default[color=blue]
    >smtp server
    >
    >At the office on the server machine I cant find the the[/color]
    defaule smtp vitrual[color=blue]
    >server when i opend the internet information service .
    >
    >since i can't find the default smtp virtual server on[/color]
    the server machine i[color=blue]
    >cant change any settings in the property.
    >But int the services list it shows SMTP RUNNING
    >
    >one default FTP server is there
    >But on the client machine i can find the default smtp[/color]
    virtual server[color=blue]
    >
    >There is IIS installed on both client machine and the[/color]
    server. and both are[color=blue]
    >showing SMTP RUNNING in the services list.
    >
    >For each mail sent three files are ther in the badmails[/color]
    folder[color=blue]
    >one them contain the error message.
    >The specific error code was 0xC00402C7.
    >
    >What will i do?
    >
    >Will you require any more information to give a solution[/color]
    for this[color=blue]
    >Please help me.
    >
    >
    >
    >.
    >[/color]

    Comment

    Working...