Setup smtp server in IIS


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Setup smtp server in IIS

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Setup smtp server in IIS

    hello ,
    We had working mail server but recently due to some error its down and down. Before i used this code

    Code:
    Dim mailman As New Chilkat.MailMan()
     mailman.UnlockComponent("xyz")
     mailman.SmtpHost = ConfigurationManager.AppSettings("x")
     mailman.AutoGenMessageId = False
     Dim email As New Chilkat.Email()
     .......
     mailman.sendemail(email)
    and it used to work fine. but now it no longer works. So what should i do. how can i setup chilkat in server. Do i have to use SMTP in IIS. If yes how should i start.

    thank you in advance
    Lakpa
    Last edited by Hack; 03-04-2009 at 08:08 AM. Reason: Added Code Tags

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Quote Originally Posted by lakpa View Post
    and it used to work fine. but now it no longer works.
    Things like this DO NOT happen on their own. Something in your environment changed to cause this code to no longer work.

    You have to find out what that something was. If you don't find out what caused the working code to no longer work, you are not going to be able to fix it.

    What has changed?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Thank you for the reply.....
    well the problem is solved now. After our server crashed our senior programmer forgot add ip in Default smtp virtual server.

    Default SMTP virtual server --> properties
    in general tab i added ip address and in access tab then click relay tab.... then then i highlighted All except the list below radio button and then i saved it... Now the smtp is working fine.........


    lakpa

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Something that everyone should keep in mind is that code doesn't work one day and not work the next day all by itself.

    If nothing was done to the code, then you are wasting your time looking at it. Examine the environment and see if you can identify a change that could have affected what you are doing.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. find version & service packs
    By rperez in forum Database
    Replies: 5
    Last Post: 01-02-2009, 05:14 PM
  2. Replies: 0
    Last Post: 10-29-2006, 09:02 AM
  3. Replies: 0
    Last Post: 07-19-2005, 05:04 AM
  4. Replies: 4
    Last Post: 12-10-2000, 04:15 PM
  5. Remove exchange from a site
    By andriano in forum Enterprise
    Replies: 1
    Last Post: 10-02-2000, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center