File formats and saving...

Discussion in 'ASP.NET / ASP.NET Core' started by Karen, Aug 30, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi all!

    I have an online application programmatically writing the information people enter to a*.fnm file format. I'm using the code below:

     
  2. Bruce

    Bruce DiscountASP.NET Staff

    this sounds to me like a email client issue.

    does the same behaviour happen on all email client or just a particular one?

    and also how do you encode your attachment?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Hi Bruce,
    Thanks for answering. It happens on multiple clients (Outlook, AOL, various web-based interfaces).
    And, I haven't set up encoding yet. The attachment code looks like this:



    Dim mailMessage As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage
    Dim attachment As New System.Web.Mail.MailAttachment(Server.MapPath("leads/" & tbFirstName.Text & tbLastName.Text & ".fnm"))
    mailMessage.From = [email protected]
    mailMessage.To = [email protected]
    mailMessage.Subject = "Subject"
    mailMessage.BodyFormat = System.Web.Mail.MailFormat.Text
    mailMessage.Body = "text to appear in the body of the email message"
    mailMessage.Attachments.Add(attachment)


    Any ideas? I appreciate this greatly!


    ~Steph
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page