.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Imran Ghani
Post New Web Links

Send a workflow email as plain text

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint
 

I'm using a (SP designer) workflow to send e-mail alerts. I need to be able to send the e-mail in plain text because the recipient is an e-mail-to-SMS service that cannot handle HTML messages. I tried adding <pre> tags to my message, this causes the message to look like plaintext in Outlook, but is still sending the message as text/html type which isn't compatible with the aforementioned SMS service. Any ideas how I can make sharepoint send the messages as true plain text?

WSS3 SP2.
Mail server is Exchange 2003 SP2.

Thanks




View Complete Post


More Related Resource Links

How do I send a workflow email in plain text

  
I'm using sharepoint designer to setup a workflow. My action is 'Send an Email'.  I have no problems sending the email, the problem is the email is always sent as HTML and I need it sent as plain/text as the application receiving this email only takes plain/text.  How do I send emails in plain text or is there an easy 2 step workaround?

Trying to send email using Sharepoint Designer 2007 workflow and email enabled list

  

I have a a list that recieves email. I have few fields that shows me the originator: "E-Mail From" and "E-Mail Sender".

I am trying to create a workflow that will generate an auto reply to the originator but the SPD fails to recognize the email address in these two fields. It's either truncating part of it or uses the html ( href=mailto:Demo@DemoSomething.com) in the To field.

Thank you,
Tzach.

 


I can't send email from workflow.

  
Hello,

I’ve got strange problem. I’ve created workflow with Visual studio 2008 which works fine. If workflow create task user gets email with alert and it works  - user gets email.   The problem is that I would like to use Workflow component: “SendEmail” for some cases. And if I enter directly into component email address for field: “TO” the message will be delivered. But if I use simple code with the same email address for field ”TO” it doesn’t work (field TO is empty now).

private void sendEmail_ExecuteCode(object sender, EventArgs e)

        {

    

how to send an email using sharepoint designer workflow when an item equals to end time

  
hi, How to trigger the workflow when current time is equl to end time. I need to send an document when  current time is equl to end time. I am using designer workflows(sharepoint 2007).I have created a variable and i am able to get todays date but not able to get time by default i am getting 12:00:00 Am.i want to get current time. can u please tell me.

Sharepoint 2010 WorkFlow Task AssignedTo Windows Group doesnt send email notification

  
Hi, Which configuration would prevent sharepoint to send a notification when a workFlow task is assigned to a Windows Group with an email ? The same task with a single User send a notification. Thanks, Patrice      

Create Visual Studio Workflow to send Email from another address

  

Hello All,

I have a requirement where i need to build a visual studio for sharepoint workflow where i can send email from different address as we have on the code plex like this..

http://spdactivities.codeplex.com/(Send Email Extended - Enhaced version of the OOTB activity. Allows you to specify the sender. Also does not break links in body.)

 

I need to achieve the same using Visual studio workflow.

I am a new bie to Visual studio workflow.Can anyone point me to any  good article to achieve it.\

Thank you

Smith


smith

Custom workflow action - send an email with blind carbon copy

  
Question: Is there any way that we can send an email with blind carbon copy (BCC) option? I know this feature is unavailable in the custom workflow action (in SPD-2007) but there is a requirement where I need to send an email without revealing other ids of other recipients. 

SPD workflow doesn't send email to user in list when automatically started

  
Hi all,

My first post here and I hope someone out there could kindly help. I recently found out a strange issue with my SPD workflow. Basically, it couldn't send out email if (1) the recipient resides in the list and (2) the workflow is automatically started.

For example, I have a list with a "user" field. A workflow first "Send an email" to this user, and then "Collect data from a user" from this user. If the workflow is set to start automatically, then this user gets no email. Tasks list does contain a task, but the "Assigned To" field of the task is empty. This is the case no matter if the user field is of type "Single line of text" or "Person or Group".

Everything's fine if I manually start the workflow. And everything's fine if the user is directly spelled out (jay@company.com) in the "Send an email" and "Collect data from a user" actions instead of retrieved from the list. Either case the user would get two emails as expected, and the "Assigned To" field would display the user name properly.

I looked into the log but didn't find anything special. As you can imagine, this is breaking a lot of our workflows and making SPD workflow look very bad. It's just not

Approval Workflow does not send Start Email to approvers

  

We've a SharePoint Server 2007 (which is upgraded from our SharePoint 2003 Portal Server + SP2 ).  


There is a strange problem working with Workflows.


When a standard Workflow is started for a document in an Existing Document Library, The Document's WorkFlow status changes to "In progress" and an Email is sent to the initiator; In the site Task List, also, the tasks are assigned correctly to approvers. but no emails are sent to approvers!!!


I should add that approvers WILL receive a due date warning email on the Task Due Date. 


The only missing part is "Task Started/Assigned" Emails.

 

Can anybody help? 


Consolidate auto workflow email and send one mail a day

  

Hi, I am facing an issue from so long and request you to provide any solution on the same.

I have created a document library and list where currently users are getting auto workflow email every time something gets uploaded to doc lib or list. However the requirement is to consolidate those auto emails so they will only get 1 summary email per day [i.e. all the file details in one email after end of the day which means “all files uploaded after 12pm midnight of (12<sup>th</sup> Oct) to 12pm midnight of (13<sup>th</sup> Oct)]

 

This seems to bit complex task and I was unable to find any solutions for the same. Please help me with the resolution/alternative
Regards, Sachin

Consolidate auto workflow email and send one mail a day

  

Hi,
I am facing an issue from so long and request you to provide any solution on the same.

I have created a document library and list where currently users are getting auto workflow email every time something gets uploaded to doc lib or list. However the requirement is to consolidate those auto emails so they will only get 1 summary email per day [i.e. all the file details in one email after end of the day which means “all files uploaded after 12pm midnight of (12<sup>th</sup> Oct) to 12pm midnight of (13<sup>th</sup> Oct)]

This seems to bit complex task and I was unable to find any solutions for the same. Please help me with the resolution/alternative

Regards, Sachin


Newbie - from a workflow, can I send an email that lets the receiver edit a field from the email?

  

Hello - newbie here.

I have a workflow where it sends an email to someone with a link to the item. They then click the link to edit the item and save it. The change they make is settings a status field on the item in the list to A, B, or C

What i'd like to do is send an email where they can see the status choices for the item, then make the change directly in the email.

Is this possible without a massive amount of work? I'm not a developer - just trying to get something done.

thanks!


What is the default in the Three State Workflow for how many days after due date to send email remin

  
I am setting up Three-State Workflow on an Issue Tracking list in MOSS 2007. My company does not allow SP Designer. I would like to know what is the default setting in this workflow for how many days after task due date to send the email reminder. Also, is there a way to change this setting under site collection administration? I would like it to send the reminder every 2 days.

Send Email with HTTP file attachment - Workflow is sending garbage in attachment

  

Hello,

I'm having an issue with a customized workflow when I send an email with an attachment. I am using the "send email with http file attachment" that I have downloaded from CodePlex. Unfortunately all attachments that come through are full of garbage. This includes .jpg, .pdf, and .txt. From what I can tell with the .txt file is that its contents has been replaced with what appears to be the html of the list page. Both the .jpg and .pdf fail to open complaining about corrupt documents. All documents can be opened fine from within sharepoint. 

Can anyone of you guide me in this regard, as rest of my  workflow logic is working fine but this attachment issue is ruining the end result.

Regards,

System does not send an email to an approver when a custom workflow is cancelled

  

We have a custom workflow created using SharePoint Designer (SPD). The workflow starts when user submits a (InfoPath) form. The workflow sends an email to an approver. On one occasion, user submitted the form, workflow started, user (submitter) realized he had made a mistake and decided to cancel the workflow (using the procedure: Cancel a workflow in progress). In the meantime, the approver had already received an email and when the approver clicked on the link "Edit This Task" in his email, he got the following error message. We were hoping that SharePoint would have sent the approver a notification for the cancellation of the workflow. OOTB (Out-of-the-Box) workflow probably sends a cancellation notice to the approver. How can we achieve the same functionality in custom workflow?:

//////Error message when approver clicks on "Edit this Task" link in his email:

No item exists at http://ServerName/SiteAddress/Lists/My Workflow Tasks/DispForm.aspx?ID=2.  It may have been deleted or renamed by another user.

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily clo

Send summary email on 1st of every month sharepoint workflow

  

Hi all ,

I have a situation where in I need to create a sharepoint workflow for Infopath Form Library to send out emails. But the condition is a little tricky. I need to send out one email only on 1st of every month consisting of single link or mulitple link for infopath records submitted for the person. Basically if somebody submitted 3 infopath forms for me in March, on 1st of April I should get one email notification with a summary of all 3 forms. Is this possible. If yes how?

Environment is WSS 3.0 wih Infopath 2007


Send Email from SQL Server Express Using a CLR Stored Procedure

  
Problem
One of the nice things about SQL Server is the ability to send email using T-SQL. The downside is that this functionality does not exist in SQL Server Express. In this tip I will show you how to build a basic CLR stored procedure to send email messages from SQL Server Express, although this same technique could be used for any version of SQL Server.

Solution
If you have not yet built a CLR stored procedure, please refer to this tip for what needs to be done for the initial setup.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend