• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

Sending email works, but it sends in html/xml format. How can I just email text?

Setup: Infopath 2007 on Sharepoint 2007, Filling in forms on sharepoint 2007 server.

Current Situation: I have created a form (in Infopath 2007) which when a button is clicked does this:

Send form data to a single destination  - Ticked
Selected Email
Filled in the details etc

and it all works perfectly.

However, I want to send the email to a system that can not handle html/xml emails. It can only handle text and when I looks at the emails they appear as a lot of html/xml code. Its strips headers etc but thats as far as i goes.

I have been clicking and reading and I really can't see any option to just send a plain text email.

Does anyone have a suggestion.

Added difficulty leveI: I am not a great programmer, but I can follow instrucitons :)


Many thanks in advance.
0
matthewbeavis
Asked:
matthewbeavis
1 Solution
 
Clay FoxDirector of Business IntegrationCommented:
For your email data connection are you attaching the form or embedding it?  I am guessing you are embedding the view and this would not be compatible with a text editor. You would need to create a submit to email which attaches the file instead.
If you just need a notification email. You can use a "mailto:" hyperlink, but this requires the user to click the link and send the mail, not sure if that is what you are looking for.
Otherwise you can use code to generate your own email but then you can get into trust issues.
0
 
matthewbeavisAuthor Commented:
Thanks for the response, however mailto: is not a solution we can use and nor is attatchments, i tried already.

I am sending it embeded as standard, its just that Sharepoint/Infopath send the email with all the extra html code, which makes the email un-readable where its being sent, just think of it as trying to read a nice formated html email on a old vt100 terminal. Its just a lot of <Html code> tags and stuff.

What I want is just to send the data without all the "fancy stuff" (html tags and code)


0
 
ChaotixxCommented:
I have this issue as well with InfoPath 2007.  Our Incident Tracking system, Service Desk Express by BMC only deals with text emails.  Normally, a person can send an email to an address, and the application will create a ticket for it.
With infopath, I can submit the form directly and it works fine.  But - when using Sharepoint Form Services, the email does not get "read" correctly by our Service Desk Express software.
This has been an issue for quite a while now, and I cannot find a solution that works.
I found a few solutions using code, but I honestly don't want to go there because we have 100's of forms we wanted to recreate in Infopath for our staff to use via Sharepoint.  Unfortunately, it seems we cannot do this as using code within a form seems to have numerous trust issues inside Sharepoint.

Does anyone have a solution - a plugin - anything that will allow Infopath forms to send plain-text email via Sharepoint?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now