Hi Developers,
How can i send EMail by using my local machine in C#. Using some smtp or gmail default credentials without using any professional credentials.
Kindly suggest me to do this task.
Regards
Paul.S
Hi Developers,
How can i send EMail by using my local machine in C#. Using some smtp or gmail default credentials without using any professional credentials.
Kindly suggest me to do this task.
Regards
Paul.S
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Oct 2, 2022, 4:32 AM
Hello Uday,
If I understand it correctly, gmail no longer allows sending mail the way to you have described.
Sachin SinghPosted Oct 1, 2022, 7:43 AM
Better use sendgrid that microsoft recommends.
https://www.twilio.com/blog/send-emails-using-the-sendgrid-api-with-dotnetnet-6-and-csharp
Uday DodiyaPosted Oct 1, 2022, 4:17 AM
Hello Paul,
Try Following
Uttam KumarPosted Sep 30, 2022, 6:44 PM
You can send it from your local system using some SMTP account only. A better and more convenient way is to use a Gmail account which is also free if you want to do it for testing.
Vishal YelvePosted Sep 30, 2022, 7:08 AM
Hi Paul,
Please refer below Article
https://www.c-sharpcorner.com/article/sending-email-using-c-sharp/
https://blog.elmah.io/how-to-send-emails-from-csharp-net-the-definitive-tutorial/