oAuth.AuthUrl = "https://accounts.google.com/o/oauth2/auth"; oAuth.TokenUrl = "https://accounts.google.com/o/oauth2/token"; oAuth.RedirectUrl = "http://localhost"; oAuth.ClientID = "421475025220-6khpgoldbdsi60fegvjdqk2bk4v19ss2.apps.googleusercontent.com"; oAuth.ClientSecret = "_4HJyAVUmH_iVrPB8pOJXjR1"; oAuth.Scope = "https://mail.google.com/"; var authorizationToken = oAuth.GetAuthorization();
string stringToDisplay = ""; pop3.Retrieve(msgNo, mailMessage); if (mailMessage.Html != null) { stringToDisplay = StringUtils.GetStringsAsString(mailMessage.Html.Strings); foreach (ImageBody image in mailMessage.Images) { stringToDisplay := stringToDisplay.Replace("cid:" + image.ContentID, @"c:\attachments\" + image.FileName); } }
if (mailMessage.Text != null) { stringToDisplay = StringUtils.GetStringsAsString(mailMessage.Text.Strings); //convert textToDisplay to html } webBrowser1.NavigateToString(stringToDisplay);
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add admin@clevercomponents.com to your trusted senders list in your email software.