Programmatically Generated Email Problems using VB.Net

Discussion in 'ASP .Net Building Controls' started by keal75, Nov 10, 2005.

  1. keal75

    keal75 Guest

    I'm trying to read data from a multi-line textbox into an email subroutine.
    However when i attempt to do this using SmtpMail.Send(msg), all the data from
    the textbox looks like this:

    [9/21/2005 7:36:19 AM Updated by smorga10] Project pending since 9/19/05.
    SSIT Fields haven't been updated as requested. Project cancelled 9/21/05.
    [9/20/2005 9:13:26 AM Updated by smorga10] Project still pending. [9/19/2005
    7:57:36 AM Updated by smorga10] Project pending. SSIT fields can't be more
    than 20 characters. Please update the subs that have more than 20 characters.

    However when i use the SmtpMail.Send(msg.From, msg.To, msg.Subject,
    msg.Body) property, the above data is formatted correctly but i cannot send
    attachments nor use the BCC property:

    [9/21/2005 7:36:19 AM Updated by smorga10]
    Project pending since 9/19/05. SSIT Fields haven't been updated as
    requested. Project cancelled 9/21/05.

    [9/20/2005 9:13:26 AM Updated by smorga10]
    Project still pending.

    [9/19/2005 7:57:36 AM Updated by smorga10]
    Project pending. SSIT fields can't be more than 20 characters. Please
    update the subs that have more than 20 characters.

    My question: How do I properly format the data from the multi-line textbox,
    as demonstrated above, and still send attachments & use the BCC property?

    Any help would be greatly appreciated!!!
    --
    Koljas
    keal75, Nov 10, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. C.W.
    Replies:
    0
    Views:
    296
  2. NKaufman

    GridView generated programmatically

    NKaufman, Mar 28, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    8,552
    NKaufman
    Apr 3, 2007
  3. Carl Youngblood
    Replies:
    2
    Views:
    129
    Carl Youngblood
    Nov 5, 2003
  4. Marek Mand
    Replies:
    9
    Views:
    400
    Marek Mand
    Mar 4, 2004
  5. ashish makani
    Replies:
    5
    Views:
    570
    Mark Lawrence
    Sep 20, 2012
Loading...

Share This Page