🚀 C# Progress Academy - Become a senior C# developer: academy.tutorials.eu/p/csharp-progress-academy
@martaflru4 ай бұрын
Hello, you forgot to post the link to the page with the code. I know you haven't read the other comments, but maybe you'll thank a little reminder. It would help many of us.
@cydoentis2 ай бұрын
A year later, and still too lazy to read comments or actually post the link lol.
@ghimireayuisha5888 Жыл бұрын
Awesome video. Exactly I watch your video on 1 year, after you uploaded.
@tinylittleanj211 ай бұрын
You sir, are a legend! Thank you :)
@sukanya.29728 Жыл бұрын
hi sir i just want to know how to setup my outlook account for it. can i use this same way for send email via outlook..?
@oddikaro8236 Жыл бұрын
Awesome, clean and to the point.
@reginahshikanda64788 ай бұрын
Thank you so much for this!!
@alperkaya8919 Жыл бұрын
It worked for me thank you man
@joyceannsicat9212 Жыл бұрын
where did you see the link?
@SA-lm5yt7 ай бұрын
SMTP server nasil kurdun
@CoderGeek-u6m3 ай бұрын
I'm not seeing the link for the blog
@shahinbabayev44562 жыл бұрын
I am getting this error "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail"
@tutorialsEUC Жыл бұрын
Are you sure that you are using the correct SMTP port of the e-mail service? Usually that error means that you login information or SMTP config is wrong :)
@JoeMeyer8998 Жыл бұрын
@@tutorialsEUC your app doesn't work. I think it's an authorization problem, the basic authentication doesn't work anymore with Microsoft, OAuth2 is required
@MrSurfsAlot Жыл бұрын
@@JoeMeyer8998 Did you ever find out what the issue was? I receive the same error
@JoeMeyer8998 Жыл бұрын
@@MrSurfsAlot No, I haven't
@sanjivkhare4139 Жыл бұрын
me too
@GamesBR-qu6ip10 ай бұрын
Very Nice! thanks
@NguyenThanh-pj1hc Жыл бұрын
thank you, it works
@rbsoliveira2 ай бұрын
Uma forma interessante seria criar uma fila em segundo plano e enviar, desta maneira sua aplicação não trava ao esperar o envio. Valeu pelo vídeo!!
@nareshkumarmm6244 Жыл бұрын
Thanks a lot man 🖖
@obaidashgran Жыл бұрын
thanks a lot man
@kriskata7653 Жыл бұрын
What I can do If I do not want to expose my password like this? If I have my application in production no developer would want their password visible in the code like this... Can you suggest an idea how to hide my password or authenticate another way?
@filiptrivan Жыл бұрын
use appsettings
@Sandman.886 Жыл бұрын
I think you can just declare a static variable with the password somewhere else and just call that variable instead of writting it
@kaasbaas9532 Жыл бұрын
Environment variables/secrets
@coding-gemini Жыл бұрын
User secrets / azure secrets / env variables
@lin1342-f1b10 ай бұрын
sir how can I use TLS instead of SSL
@joseantoniosanchesgarcia9220 Жыл бұрын
Hello bro, I got this error using the same configuration: The function requested is not supported, I am using mailTrap
@Daniel-tx6hx5 ай бұрын
This is not the recommended approach because the username and password are exposed, and if the project is accessible to others, it is not practical. The recommended method is to send emails using the API-obtain a special key from Google or another provider, and everything else is quite similar.
@collinskiplagat65892 ай бұрын
This is actually not true. This is actually the right approach. As for credentials being exposed, we could store them in environment variables.
@Daniel-tx6hx2 ай бұрын
@@collinskiplagat6589 You are welcome to consult artificial intelligence and determine what is right and what is wrong
@johnkanekunga66685 ай бұрын
Can you do another quick tutorial to receive emails?
@aniksaha244 Жыл бұрын
The server returned an invalid response to the EHLO command Getting this error , how to solve it will you please tell me?
@mohammedalherz4035 Жыл бұрын
can i use that for OTP ?
@chotamulenga4856 ай бұрын
how can you hide the email and password from being in the source code?
@mazurkrl3 ай бұрын
"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled." Idk why noone is pointing this out in the comments but basic authentication is apparently disabled since 2023 so this tutorial is outdated already
@gabrielfernandes84013 ай бұрын
This was working for me in September of 2024 (though I wasn't exposing the password in the code like this). But now I'm getting the same exact error about basic auth being disabled. Currently searching the internet for the new solution, but no luck yet.
@mazurkrl3 ай бұрын
@@gabrielfernandes8401 I used google's smtp. But you do have to link your account with ur phone number and enable 2 step authentication. Then create app password and pass it in code instead of your regular password. Basically basic authentication but with some bs to do beforehand. Idk why all smtp services collectively disabled basic authentication. I dont want to set up whole azure portal link my credit card and authenticate with oauth2 for some small personal project xddd
@zat1245Ай бұрын
I don’t understand your confusion. The error you posted says the problem. You are sending only basic authentication and the server you are sending to has basic authentication disabled. You just need to have your api use OAuth2. SmtpClient does not support this. You need to research using MailKit.
@deepakkaliprasadАй бұрын
facing the same issue. did you find answer for this ?
@zat1245Ай бұрын
@@deepakkaliprasad The issue is listed in the error. The SMTP server you are connect to requires a secure connection and could not authenticate because basic authentication (passing the username and password raw) is diabled. So, it depends on the SMTP server you are using. Some allow you to turn off OAUTH2 authentication, some will provide you an app password to use in your apps, others will require you to create credentials to be used. So, find out what you need for yours and use MailKit instead as the basic one used here is deprecated
@mrtrader36619 ай бұрын
How to use it for emails in database with API
@wolfgang594511 ай бұрын
Is it limited to sending mail? After 1 time I still haven't been able to send mail anymore!
@overnine760211 ай бұрын
Guess It depends on the SMPT Provider - in case of gmail, you can configure your account to be used in "unsecure apps" and still as they say, some email can be filtered anyway
@joegreen427 Жыл бұрын
Um what if i dont want the email sent until someone registers a new account? And then verify it once the email is sent
@sabuwk12 Жыл бұрын
I’d assume you’d have to have some sort of database where you’d run a query to see registered emails. And check if a specific email is in your database. You then would perform that check and if it’s validated true then perform the email stuff in the video.
@Thorne99111 ай бұрын
Sorry, This one is pretty much click bait at this point. He speaks well but leaves out a bunch of "Other" code from what he shows and there is no source code to download. Just says "go to my free course" which has a money back guarantee.
@zat1245Ай бұрын
And yet from this video I have copied the method he demonstrates and it works. Skill issue, champ. Maybe start with something less advanced.
@oilondabeats901111 ай бұрын
Hold on email paladin and how many of those emails u can send per day ?
@attilaguba8563 ай бұрын
for example Gmail is 500/day , but better if you use SendGrid or etc!
@Wojbest_YT5 ай бұрын
thanks now i can make malware that sends the malware from the host computer to their contacts
@located Жыл бұрын
where is the link?
@Duelweb Жыл бұрын
Exactly!! It does not exist. What a waste of time.
@berserkerzgz Жыл бұрын
link to the code?
@chandrakantpatil499324 күн бұрын
code link
@vikrantkhairnar2 Жыл бұрын
Hello what if I want to save the message in draft instead of sending it
@aenon011 ай бұрын
live long and prosper😭😭
@Duelweb Жыл бұрын
Don't you read your comments ? Where is the link ????????
@sibisuruthit962211 ай бұрын
Be kind whenever u make a reply.
@Duelweb11 ай бұрын
@@sibisuruthit9622 There is no unkindness in this question. But more to the point is if we are going to give tutors our time (they make money off of us) then at least have the manners and respond. If you interpret my comment as unkind, perhaps you are overly sensitive 😀
@sibisuruthit962211 ай бұрын
@@Duelweb if someone is a tutor to u, apart from money n time, u should give the respect. That is the basic manners
@syth618910 ай бұрын
@@sibisuruthit9622 Basic manners is them not wasting our time
@sibisuruthit962210 ай бұрын
@@syth6189 of course it is. But there is always a way to convey anything.