Top "Smtpclient" questions

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

postfix: check_client_access not working

I want to block specific IP's, that try to login to my postfix server by smtpd. Therefore in the /etc/…

smtp postfix-mta smtpclient smtp-auth
Dispose SmtpClient in SendComplete?

When I use SmtpClient's SendAsync to send email, how do I dispose the smtpclient instance correctly? Let's say: MailMessage mail = …

c# dispose smtpclient sendasync
Images breaking when sending mail using SmtpClient

I am sending a mail using C# using the SmtpClient class. I am doing the following things before sending the …

c# html email smtpclient
SmtpClient.SendAsync blocking my ASP.NET MVC Request

I have a Action that sends a simple email: [HttpPost, ActionName("Index")] public ActionResult IndexPost(ContactForm contactForm) { if (ModelState.IsValid) { …

asp.net-mvc-3 email smtp smtpclient
An asynchronous module or handler completed while an asynchronous operation was still pending

I had the following for emailing, which worked: private SmtpClient _client = new SmtpClient("smtp.gmail.com", 587) { Credentials = new NetworkCredential("address@…

c# asp.net asp.net-mvc-4 smtpclient
System.Net.Mail creating invalid emails and eml files? Inserting extra dots in host names

It appears that .NET's SmtpClient is creating emails with an extra dot in host names if the dot was to …

c# .net email smtpclient