Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Send Email from Localhost

  1. #1
    Rita is offline Senior Member
    Join Date
    Mar 2009
    Posts
    124

    Post Send Email from Localhost

    I setup the Mail Server DNS as localhost because SMTP server is installed in my local machine. and also
    mail server username
    password
    Receipt EMail sends from
    New Order Notifications send to
    Send Receipt EMails
    has correct credentials. But still when i tried to "send test mail" (Send Test button), its throwing an following exception,

    Mail Error occurred - Exception=Failure sending mail.
    Unable to connect to the remote server
    No connection could be made because the target machine actively refused it 127.0.0.1:25.

    What could be the issue?

  2. #2
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    LOL. sending from localhost (puke)

    relaying issues come to mind. no host will allow that.

    email from localhost is a non starter in this day and age in almost all cases

    Use your proper authenticated domain/host/isp mail server for this.
    AspDotNetStorefront
    Shopping Cart

  3. #3
    Rita is offline Senior Member
    Join Date
    Mar 2009
    Posts
    124

    Arrow

    Thanks for your immediate reply. it may be silly question. but i don't have idea about how can we get authenticated domain for dev machine? Is it possible?

  4. #4
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    you could yes. but not to send from "localhost" all ISPs now will reject that nonsense. Let me ask Dan on how to do this...
    AspDotNetStorefront
    Shopping Cart

  5. #5
    DanV's Avatar
    DanV is offline Ursus arctos horribilis
    Join Date
    Apr 2006
    Posts
    1,568

    Default

    It looks like your local mail server is actually rejecting the connection, which means you either have your mail server set up improperly or there is a firewall blocking the connection. I would strongly recommend just using your ISP's assigned SMTP server.