Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Programmatically Generated Email Problems using VB.Net

Reply
Thread Tools

Programmatically Generated Email Problems using VB.Net

 
 
keal75
Guest
Posts: n/a
 
      11-10-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send email programmatically from a gmail email a/c when port587(smtp) is blocked ashish makani Python 5 09-20-2012 07:56 AM
GridView generated programmatically NKaufman ASP .Net 5 04-03-2007 03:44 PM
Programmatically requesting an email response receipt. Wade ASP .Net 1 07-08-2004 04:39 PM
programmatically generated keyboard events initKeyEvent Marek Mand Javascript 9 03-04-2004 08:51 AM
Amrita and programmatically-generated JavaScript Carl Youngblood Ruby 2 11-05-2003 04:46 AM



Advertisments