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
CSharpCodeProvider generated EXE embedded with ResourceWriter generated .resources fails... Jon Rista Microsoft C# .NET 4 1st Oct 2005 07:49 PM
W2K Error: "SVCHOST has generated errors...An error log is being generated" ? Al Dykes Windows XP General 1 14th May 2005 03:54 PM
The application, C:\WINDOWS\system32\lsass.exe, generated an application error The error occurred on 05/03/2004 @ 10:50:46.755 The exception generated was c0000005 at address 00900090 () =?Utf-8?B?cmljayBj?= Windows XP General 2 5th May 2004 03:36 AM
save.exe generated error - explorer.exe generated error JCGarcia Microsoft Windows 2000 1 31st Jan 2004 11:49 PM
Don Not Deliver Before Problem with Outlook XP/2002 Simon Goode Microsoft Outlook 0 17th Jul 2003 12:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 AM.