If you are getting this error, "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1", try the following methods below 1) Ensure that your network does not block your application 2) Go to Gmail Settings > Forwarding and POP/IMAP > IMAP Access > Enable IMAP 3) Go to Google Account > Security > Less secure app access > On If the above still doesnt work, try changing to stronger password. Hope this helps!
i get this S22.Imap.InvalidCredentialsException HResult=0x80131500 Message=xm001 NO Empty username or password. f9mb46014454wrw Source=S22.Imap StackTrace: at S22.Imap.ImapClient.Login(String username, String password, AuthMethod method) at S22.Imap.ImapClient..ctor(String hostname, Int32 port, String username, String password, AuthMethod method, Boolean ssl, RemoteCertificateValidationCallback validate) at WindowsFormsApp1.Form2.b__7_0() in C:\Users\oser\Desktop\Log On\WindowsFormsApp1\Form2.cs:line 70 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() can you help? @Darren Lee
Nice tutorial Darren, the problem with the code is that it doesn't cover disconnections - if you disconnect for a second then from that moment on the connection is lost and it won't continue receiving. I'm looking to find an elegant solution for that now.
how to download attachement ? can you please help me out in this scenarion I have sent attachment by edit this. but unable to receive attachement. please help me out anybody. your response will be highly appreciated.
I'm getting errors. The first error was fixed by changing the port to 465. I got that fix at stack overflow. The second error was fixed by changing my settings at google by allowing less secure apps but I am still getting an error at mailer.Send(message); the message part inside the parenthesis is lit up in yellow.
Hi, can you tell me what I should do if it writes me this: Error1 The name 'txtEmail' does not exist in the current context and there are other errors with similar problem.
error, is there anyone how can help me.... "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required."
Thank for this tutorial but I get this error . how can i fix this ? The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
check out the accepted answer in this link: stackoverflow.com/questions/29465096/how-to-send-an-e-mail-with-c-sharp-through-gmail If still not resolved: stackoverflow.com/questions/704636/sending-email-through-gmail-smtp-server-with-c-sharp/9572958#9572958
Hello thank you for this tutorial. I dont want to one receive mail. I want to all received mail box. How can I do? I tried e.Client.GetMessageS but it doesnt get it
Nice video :) i'm getting an error: Non-invocable member 'EventHandler' cannot be used like a method. But i have put the email address and password in the code as I am expected to do it like this. Its urgent...
Hey, great vid. Thanks. Can you please provide the source code to this. I've copied it all and built it successfully, however when running it at this line mailer.Send(message); I get this error message: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
You have to look deeper.. he can run the dll through a crypter which hides the malicious code from AVs basically encrypts it, when you run the program it will open a reader app on (w8.1) and if you try to open the folder of its location it will say premission denied and im an ADMIN on my pc so thats a reg edit which is only caused from trojans. And after i run the app it added a process (Te.service
It added a (Te.service) to msconfig which i didnt add and its not a legit windows process. Im telling you its not legit and unsafe, also when you scan it on virus total or metascan SWATop go look at the parent archive it shows 6/40 detected as trojan
error, is there anyone how can help me.... "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required."
If you are getting this error, "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1", try the following methods below
1) Ensure that your network does not block your application
2) Go to Gmail Settings > Forwarding and POP/IMAP > IMAP Access > Enable IMAP
3) Go to Google Account > Security > Less secure app access > On
If the above still doesnt work, try changing to stronger password.
Hope this helps!
i get this S22.Imap.InvalidCredentialsException
HResult=0x80131500
Message=xm001 NO Empty username or password. f9mb46014454wrw
Source=S22.Imap
StackTrace:
at S22.Imap.ImapClient.Login(String username, String password, AuthMethod method)
at S22.Imap.ImapClient..ctor(String hostname, Int32 port, String username, String password, AuthMethod method, Boolean ssl, RemoteCertificateValidationCallback validate)
at WindowsFormsApp1.Form2.b__7_0() in C:\Users\oser\Desktop\Log On\WindowsFormsApp1\Form2.cs:line 70
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
can you help? @Darren Lee
Can't explain, How much i am blessing you ..
Glad to see you are back to coding ! All the best
Thanks Mr. Li :-)
I like your way of teaching
Thanks bro! God bless you.
Banging tune!!
thank you very much!!
thanks to so much...
Thanks very much ! Big like man ...
thank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
Nice tutorial Darren, the problem with the code is that it doesn't cover disconnections - if you disconnect for a second then from that moment on the connection is lost and it won't continue receiving. I'm looking to find an elegant solution for that now.
Good one Darren, Thanks
Hey there, i remembered you commented on my other video a very long time ago! Thank you for your continuous support :-) Happy coding!
Darren
how to download attachement ? can you please help me out in this scenarion
I have sent attachment by edit this. but unable to receive attachement. please help me out anybody. your response will be highly appreciated.
I'm getting errors. The first error was fixed by changing the port to 465. I got that fix at stack overflow. The second error was fixed by changing my settings at google by allowing less secure apps but I am still getting an error at mailer.Send(message); the message part inside the parenthesis is lit up in yellow.
thisi a good tuto for send and receive messages vializer.com/2ayt
i know this is very old but when i try to get body it comes with html tag how can i remove these html tags?
New version off this app with cooler design please , nice vidoe
how to save the receive email on the richtextbox?
Because Iam trying to put the recieve message into different project
A socket operation was attempted to an unreachable network i got this error in receiving
Hi, can you tell me what I should do if it writes me this:
Error1 The name 'txtEmail' does not exist in the current context
and there are other errors with similar problem.
Thanks bro
error, is there anyone how can help me....
"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required."
I think It works just for IMAP :)
Good program
How download attachment email imap
Thank for this tutorial but I get this error . how can i fix this ?
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
check out the accepted answer in this link:
stackoverflow.com/questions/29465096/how-to-send-an-e-mail-with-c-sharp-through-gmail
If still not resolved:
stackoverflow.com/questions/704636/sending-email-through-gmail-smtp-server-with-c-sharp/9572958#9572958
it's said "server dose not support IMAP IDE"
Nice bro.. really nice work... Can i contact u
please link the source code
Please tell me, how can I save the attachement to disk?
ua-cam.com/video/p5ZOHvIbYJc/v-deo.html
hello my master..
your dll receives embedded image
Hello thank you for this tutorial.
I dont want to one receive mail. I want to all received mail box. How can I do?
I tried e.Client.GetMessageS but it doesnt get it
e.Client.GetMessage - try that
Nice video :) i'm getting an error: Non-invocable member 'EventHandler' cannot be used like a method. But i have put the email address and password in the code as I am expected to do it like this. Its urgent...
Did you copy the code exactly? Or did you made some adjustments? Leave me your email if you need the source code :-) Cheers!
@@DarrenLeeCSharp i need it for my project 🌹
hallo, can you send me the code i will be thankfull
Please create complete Gmail like application
ua-cam.com/video/p5ZOHvIbYJc/v-deo.html
Hey, great vid. Thanks. Can you please provide the source code to this. I've copied it all and built it successfully, however when running it at this line
mailer.Send(message);
I get this error message: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
+ComputerTechBoss are you logged into your email account on your web browser? Hope this helps! Cheers!
+ComputerTechBoss if its still not working, please tell me your email and i'll send it to yoh. No worries :-)
Plz send me source code at faizan.techies61@gmail.com
Hello Darren Lee. I was wondering if there was a way to load the whole inbox within the textbox on the right? please help me out :)
Warning! The DLL is a trojaner!
the Ghost Earth kaspersky detected. You dont need the dll
Hes right ive also verified it as a trojan.
My Kaspersky Total Security detected it as a trojan. I trust my antivirus software
You have to look deeper.. he can run the dll through a crypter which hides the malicious code from AVs basically encrypts it, when you run the program it will open a reader app on (w8.1) and if you try to open the folder of its location it will say premission denied and im an ADMIN on my pc so thats a reg edit which is only caused from trojans. And after i run the app it added a process (Te.service
It added a (Te.service) to msconfig which i didnt add and its not a legit windows process. Im telling you its not legit and unsafe, also when you scan it on virus total or metascan SWATop go look at the parent archive it shows 6/40 detected as trojan
Dont download the mediafire, use this DLL: github.com/smiley22/S22.Imap
Doesnt work.
thisi a good tuto for send and receive messages vializer.com/2ayt
gabisa tai
error, is there anyone how can help me....
"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required."