-
Aug 15th, 2018, 09:51 AM
#1
Thread Starter
Hyperactive Member
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
-
Aug 15th, 2018, 10:20 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|