locked
ASP.NET Email and Blackberry RRS feed

  • Question

  • 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);
     
    Monday, June 25, 2007 11:52 AM

Answers

  • User2098947605 posted

    Have you tried sending a plain text email instead of HTML?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 25, 2007 12:57 PM

All replies

  • User2098947605 posted

    Have you tried sending a plain text email instead of HTML?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 25, 2007 12:57 PM
  • User-538024033 posted

    Thanks for the reply.  I have tried that, and although it works, I'm hoping to find a way to send HTML emails for formatting reasons. 

    Do Blackberry's have a problem with HTML emails?  Is there a way to format a text email?

    Monday, June 25, 2007 1:31 PM