Results 1 to 2 of 2

Thread: Winform Project Send An Email Error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    478

    Winform Project Send An Email Error

    I used code below to send an email from a winform project.
    But some users got an error and some user sent the email successfully.
    How to fix it? What should I tell IT to fix?

    Dim myMail As New SmtpClient("email10.company.com")
    myMail.Credentials = New System.Net.NetworkCredential("account@mycompany.com", "password")
    myMail.Send(mail)

    Error:

    System.Net.Mail.SmtpException: Service not available, closing transmission channel. The server response was: 4.3.2 Service not available

  2. #2
    Fanatic Member kpmc's Avatar
    Join Date
    Sep 2017
    Posts
    1,012

    Re: Winform Project Send An Email Error

    maybe a local firewall is filtering ports. If machines are on differnt ISP's, alot of them filter port 25, maybe try port 587

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width