1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

SMTP problem: email staying in C:\Inetpub\mailroot\Queue

Discussion in 'C#' started by alanX, May 5, 2007.

  1. #1
    Hi all,
    I wrote a send-email program using asp.net. It works in my school computers.
    However, when i use this program to send the email at home, then emails can not be sent and always forwarded to
    I have installed SMTP server( window XP prof.), but my home computer does not have a domian name(Just a IP address)

    I have used the telnet ("telnet IP-address 25") to test the port 25. It is ok.

    Can anyone tell what problems on the SMTP server or anything else ?.?
     
    alanX, May 5, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I would look into mail forwarding - it looks like it either doesn't know where to go next, or it's not being queued. You have standard install of IIS? Do you have a Firewall that's blocking port 25 for reqeust? Are you behind a proxy?
     
    ccoonen, May 6, 2007 IP
  3. alanX

    alanX Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    (1) i have installed all the sub-components of IIS, including SMTP server
    (2) Port is not blocked by firewall ( I test it by turning off the firewall)

    (3) I don't quite understand "Are you behind a proxy"
    Does it mean the ISP or else?
     
    alanX, May 8, 2007 IP
  4. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #4
    It means, are you on a network that you have to connect to a proxy to use the internet.
     
    ccoonen, May 9, 2007 IP
  5. db29a

    db29a Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i've been looking answers for the same problem, i get "Messages stuck in the queue" and while i was trying i notice something that could be the solution (centainly not the professional answer):

    1. click start, control panel, administrative tools, IIS services
    2. expand PC and right click "default virtual SMTP server"
    3. select delivery tab (spanish: ENTREGA)
    4. set lower values for: "first retry interval", "second try interval", "third retry interval", "subsequent retry interval"... (i set them to 1)

    now it's working fine for and hope this to be usefull
     
    db29a, Oct 13, 2007 IP