PC Review


Reply
Thread Tools Rate Thread

Deliver any attachment(s) with plain-text e-mail generated from a

 
 
JLW Tech
Guest
Posts: n/a
 
      4th Mar 2009
I'm trying to deliver a plain-text message, and any attachments that might be
added, using a Post Form in Outlook 2003, to a non-Outlook client. The
attachments are not being delivered. I currently do not have any code
included in the script for the form that handles attachments. What do I need
to do to for the users to be able to send an attachment that might be saved
on the network, in our document management system, or on their local machine,
with the form? The message control is on the form. Below is part of the code
for the form that sends the message in plain-text. What steps do I take to
get this to work? Thanks!

Sub cmdSubmit_Click ()
Dim strDetails
Dim objForward
On Error Resume Next
strDetails = Item.Body
Item.BodyFormat = 1
strBody = AddLine ("Subject") & _
AddLine ("Locations") & _
AddLine ("Dept.") & _
AddLine ("Phone Number") & _
AddLine ("Cat") & _
AddLine ("Product") & _
AddLine ("Symptoms") & _
AddLine ("Priorities")
If strDetails <> "" Then
strBody = strBody & vbCrLf & strDetails
End If
Set objForward = Item.Forward
objForward.Body = strBody
Item.Close olDiscard
End Sub

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
HTML into Plain text and missing attachment =?Utf-8?B?SnVzdGluanN5?= Windows Vista Mail 3 22nd Jun 2007 10:30 PM
how do I forward as attachment with attachment in plain text form. =?Utf-8?B?ZGFyZTJkdjg=?= Microsoft Outlook Discussion 0 18th Jul 2005 10:43 AM
plain text message appears as attachment? Kobe Microsoft Outlook 0 15th Jun 2004 10:52 AM
plain text as attachment? Mike Microsoft Outlook 2 2nd Jan 2004 10:29 PM
2K2 plain text comes through as attachment Harvested on Usenet Microsoft Outlook Discussion 6 28th Oct 2003 03:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:12 PM.