Visual Studio Sending Emails in RRS feed

  • Question

  • Hi team

    I have a Windows Classic app that will sent out emails just fine.

    When I install this App a different computer on the same Wireless Network it will not work.

    It looks like  it can not see the Smtp.Client through the network.

    Strange that it works on one computer and not on different one on the same network.

    Is there a outgoing port problem I need to set.


    Ron Blakemore 

    • Edited by RonbSA Saturday, September 15, 2018 10:02 AM
    Saturday, September 15, 2018 10:01 AM

All replies

  • The description you provide didn't allow to determine the problem you facing.

    At least three option to check:

    - firewall

    - authentication

    - server permission for station to send e-mail.

    Sincerely, Highly skilled coding monkey.

    Saturday, September 15, 2018 9:02 PM
  • One thing to try if you have not is;

    • Wrap the Send method in a try-catch, if there is an exception report back here.
    • Subscribe to SendCompled see this page and write this for the error else of the if statement.

    If the issue is a port problem it will be learned from one of the above. 

    I don't have any code samples to assist but you might check out my C# article on this topic.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, September 17, 2018 12:24 PM