1. Zoltan

    Zoltan New Member

    Messages:
    3
    Hello,

    I want to send a confirmation mail to my users. I'm using ASP.NET MVC 2 and this is my code:

    But I receive this exception when executing the above code:
    Thanks in advance
  2. SvetlanaS

    SvetlanaS Parallels Team

    Messages:
    110
  3. Zoltan

    Zoltan New Member

    Messages:
    3
    I have authenticated as you can see in my code:

  4. SvetlanaS

    SvetlanaS Parallels Team

    Messages:
    110
    What kind of mail Server used by SmtpClient class?
    You are able to switch to this mail server: Home>Tools & Settings>Server Components>Select default Webmail component
    Last edited: Sep 22, 2011
  5. Zoltan

    Zoltan New Member

    Messages:
    3
    Thank you for your help. The problem was in the settings of the SMTP server. It was configured to deny relay from any incoming IP!
    I've found the solution here

Share This Page