Quantcast
Channel: smtp4dev Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 56

Created Unassigned: Crashes when using credentials [9627]

$
0
0
var sc = new SmtpClient {
Host = "localhost",
UseDefaultCredentials = true,
Credentials = new NetworkCredential("whatever", "andMorewhatevers"),
Port = 25,
EnableSsl = true
};
var mail = new MailMessage("tester@me.com", "testee@me.com") {
Subject = "My subject",
Body = "My body"
};

sc.Send(mail);

this crashes latest smtp4dev with an ArgumentNullException

Viewing all articles
Browse latest Browse all 56

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>