Thanks for the answer @RGEN now all is Working fine, but I got an Exception here:
string body = aMessage.Body.HasHtml ? aMessage.Body.Html : aMessage.Body.Text;
This Only happens with the Password Recovery Email that is sent by StackOverflow (The Q&A website)
The Exception says:
System.FormatException: The input is not a valid Base64 string that contains a character that is not Base 64, more than two padding characters, or an invalid character among the padding characters.
Maybe a library bug?
string body = aMessage.Body.HasHtml ? aMessage.Body.Html : aMessage.Body.Text;
This Only happens with the Password Recovery Email that is sent by StackOverflow (The Q&A website)
The Exception says:
System.FormatException: The input is not a valid Base64 string that contains a character that is not Base 64, more than two padding characters, or an invalid character among the padding characters.
Maybe a library bug?