Re: Getting ASCII Text From A Outlook Form
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Thu, 7 Apr 2005 16:03:17 -0400
Where did you publish the form? Does any code run on the form at all?
Sorry, but I don't do telephone consulting and have a full schedule of engagements. as with everyone answering questions here, this is all volunteer time.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Steve Flater" <SteveFlater@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:967AD13A-102B-4CD9-9F4A-1E823A3B7791@xxxxxxxxxxxxxxxx
> Dear Sue,
>
> I added this code and modified the fields to match my fields. Nothing seems
> to happen differently than before. The form is still being sent. Do you
> offer consulting services or anything, I would like to talk to you either via
> email or phone. Please let me know, thanks!
>
> OH YES, we did buy your book too. It looks wonderful, but I do not have
> time to read it all cover to cover.
>
> Thanks for all your help.
>
> Sincerely,
> Steve Flater
>
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> There's not much to it, something like:
>>
>> Function Item_Send()
>> Const olFormatPlain = 1
>> Const olDiscard = 1
>>
>> Set NewMail = Application.CreateItem(0)
>> NewMail.BodyFormat = olFormatPlain
>>
>> ' transfer subject
>> NewMail.Subject = Item.Subject
>>
>> ' transfer recipients
>> For Each objRecip in Item.Recipients
>> NewMail.Recipients.Add objRecip.Address
>> Next
>>
>> ' build body from custom fields
>> strBody = "First Field: " & _
>> Item.UserProperties("First Field") & vbCrLf & _
>> "2nd Field:" & _
>> Item.UserProperties("2nd Field")
>> ' etc. for as many properties as you need
>> NewMail.Body = strBody
>>
>> ' send it
>> NewMail.Send
>>
>> ' discard the original
>> Item_Send = False
>> Set insp = Item.GetInspector
>> insp.Close olDiscard
>> End Function
>>
>> Listing 20.12 in my book is a slightly more elegant version. You can download the code from http://www.outlookcode.com. Click the 'get the code' link.
>>
>> I know of no video training on Outlook forms. I am hoping to do some little LiveMeeting web casts when I get caught up on some other things.
>>
>> --
>> Sue Mosher, Outlook MVP
>> Author of
>> Microsoft Outlook Programming - Jumpstart for
>> Administrators, Power Users, and Developers
>> http://www.outlookcode.com/jumpstart.aspx
>>
>>
>> "Steve Flater" <SteveFlater@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:87F07657-D199-4313-ADFE-0CEE312788AF@xxxxxxxxxxxxxxxx
>> > Dear Sue,
>> >
>> > I have 1-2 hours of experience with Outlook Forms, I get the gist of what
>> > you are saying, but will need HAND-HOLDING instructions. Do you have any DOC
>> > references to what you are saying? Also, is this in your book - we bought
>> > the other one, and are finding it confusing - we will be buying yours!
>> >
>> > Also, do you know of any good VIDEO training out there for sale that covers
>> > Outlook Form Programming?
>> >
>> > Thanks for all your help.
>> >
>> > Sincerely,
>> > Steve Flater
>> >
>> >
>> > "Sue Mosher [MVP-Outlook]" wrote:
>> >
>> >> If you've already designed a message form for this, use code in its Item_Send event handler to create a new message and populate its body with the data from the fields on the custom form, then cancel the sending of the original by setting Item_Send = False.
>> >>
>> >> "Steve Flater" <Steve Flater@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:EA82169F-E571-46C3-9662-4780CBAA5E60@xxxxxxxxxxxxxxxx
>> >> > We are trying to use a Outlook Form for our organization to submit
>> >> > project/help requests via email. We use Trackit 6.5 for our helpdesk
>> >> > software. Trackit automatically will pull the information that is submitted
>> >> > via email and create a Helpdesk Work Order. The problem is, it will only
>> >> > read ASCII TEXT (Plain Text) from this email. When the form is submitted, it
>> >> > is unable to read any information within that email.
>> >> >
>> >> > Is there a way to have the form just be read in plain text, no form
>> >> > information on the receiving end. I have tried everything, but it still
>> >> > shows up like a form. When you print a form, it prints plain ASCII, this
>> >> > would be perfect to get dumped in the receiving email.
>> >> >
>> >> > Any help would be appreciated, thanks!
>> >> >
>> >>
>>
.
- Follow-Ups:
- Re: Getting ASCII Text From A Outlook Form
- From: Steve Flater
- Re: Getting ASCII Text From A Outlook Form
- References:
- Getting ASCII Text From A Outlook Form
- From: Steve Flater
- Re: Getting ASCII Text From A Outlook Form
- From: Sue Mosher [MVP-Outlook]
- Re: Getting ASCII Text From A Outlook Form
- From: Steve Flater
- Re: Getting ASCII Text From A Outlook Form
- From: Sue Mosher [MVP-Outlook]
- Re: Getting ASCII Text From A Outlook Form
- From: Steve Flater
- Getting ASCII Text From A Outlook Form
- Prev by Date: Custom forms and scheduled resources...
- Next by Date: Re: Creating a Custom Message Form
- Previous by thread: Re: Getting ASCII Text From A Outlook Form
- Next by thread: Re: Getting ASCII Text From A Outlook Form
- Index(es):
Relevant Pages
|