User-538024033 posted
I have a simple form that sends an email when submitted. It works great, but I can't read the emails on a Blackberry. Is there something different I need to do to allow Blackberry users to read the emails? Here is the code I have on the
form:
MailAddress MailTo = new MailAddress("me@myEmail.com");
MailAddress MailFrom = new MailAddress(tbEmail.Text);
MailMessage Mailer = new MailMessage(MailFrom, MailTo);
//Attachment
if (FileUpload1.HasFile)
{
Mailer.Attachments.Add(new Attachment(FileUpload1.PostedFile.InputStream, FileUpload1.FileName));
}
Mailer.Subject = "Email";
Mailer.Body = tbRequest.Text;
Mailer.IsBodyHtml = true;
SmtpClient Client = new SmtpClient("smtp.myclient.com");
Client.Send(Mailer);