Top "Smtpclient" questions

on .NET Framework , allows applications to send e-mail by using the Simple Mail Transfer Protocol (SMTP)

c# SmtpClient class not able to send email using gmail

I'm having trouble sending email using my gmail account. Im pulling my hair out. The same settings work fine in …

c# gmail smtpclient
Send HTML email via C# with SmtpClient

How do I send an HTML email? I use the code in this answer to send emails with SmtpClient, but …

c# asp.net email smtpclient
C# sending mails with images inline using SmtpClient

SmtpClient() allows you to add attachments to your mails, but what if you wanna make an image appear when the …

c# inline smtpclient
The server response was: 4.3.2 Service not available, closing transmission channel

I am getting this error while sending email from my application. Can anyone suggest any solution. Service not available, closing …

asp.net email smtp smtpclient
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated

I'm trying to send email with my website's address from a C# application. This worked fine for several months until …

c# smtp smtpclient
How to send an e-mail with C# through Gmail

I am getting an error when trying to send an e-mail through my web service. I have tried enabling access …

c# smtp gmail smtpclient
Do we need to dispose or terminate a thread in C# after usage?

I have the following code: public static void Send(this MailMessage email) { if (!isInitialized) Initialize(false); //smtpClient.SendAsync(email, ""); email.…

c# multithreading smtpclient
SmtpClient sending without authentication

I am sending emails to our clients from Java. And there is no any authentication for our SMTP. So I …

c# asp.net email authentication smtpclient
Adding Bcc to Email sending using .NET SmtpClient?

When sending email using the SMTPClient class in ASP.NET C#, how can I add bcc to the email? How …

c# .net email smtpclient
SMTP 5.7.57 error when trying to send email via Office 365

I'm trying to set up some code to send email via Office 365's authenticated SMTP service: var _mailServer = new SmtpClient(); _…

c# email smtp office365 smtpclient