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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Workflow generated email - Username lookup

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :SharePoint

So I have workflows generating emails, and if I refer to the person who has generated the service request, they are displayed as "Domain\john.smith" which is ugly to say the least!


Is it possible to access the AD and just refer to them by their first name?

View Complete Post

More Related Resource Links

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,


I can't send email from workflow.


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)



Password recovery by entering email not username



I am using the ASP.Net password recovery control.  By default the user needs to enter their username before an email gets sent out to them.

If it possible instead of entering the username, email is used instead?  Alot of my users forgets their username but not email.


Errors when interacting with WorkFlow generated tasks through ISA Server


I have a MOSs environment that I have published through ISA Server 2006 and i am getting really strange behavior whentrying to interact with WorkLFow generated tasks when I have connected through ISA. This also seems to affect InfoPath Forms Services. I was wondering if anyone out there is seeing any problems when using ISA Server to interact wih Forms or WorkFlows?


The error I get simply states:

the form cannot be submitted to the web server either because your computer is offline or because the host server is currently unavailable.


Any help would be appreciated.





Sharepoint Workflow To Shoot Email Only When Folder Is Created In Document Library

Hi, Can anyone help me with the below issue, I am facing this from so long and didn’t figure out solution yet for the same. :( I want to send an email through SharePoint designer workflow only when a folder is created in document library (not file uploaded/updated event). Please provide me solution about how I can achieve this through SharePoint designer as don’t have enough coding acquaintance.

Sending an workflow email with image

I am trying to include an image in an email that I am sending out from Sharepoint designer. I have followed the below instructions from Microsoft's site and all I get in my email is the text. Anyone have success with this? <img src="http://www.communitywestbank.com/images/cwb_logo.jpg"> or <img src="http://www.communitywestbank.com/images/cwb_logo.jpg"/>       How to from MS site- Include an image It is not possible to embed an image or graphics file in the body of an e-mail message that is sent by your workflow. However, you can include a graphic in your message by using the HTML image tag (<img/>) to link to an image that is stored as a JPEG (.jpg) file and uploaded to a picture library in your site. In the body of your message, in the location where you want the linked image to appear, type the <img src=""/> HTML tag. Position the insertion point between the two double quotation marks (""). Type or paste the URL for the JPEG image file

workflow lookup between 2 fields in 1 list

hi, how can a create a workflow lookup in 1 list between 2 fields. i wan to compare if the 2 fields are in the same row. i create a list with users name and their approvers. the approver must be the unique approver of the user in the same list. can i do this with the workflow in sharepoint designer? thnx

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 Designer 2007 Workflow needs to initialize lookup field value and store it

This is for a governance tracking list. I have two tables: Roadmap and Roadmap Status In Roadmap, there are two fields of interest that are lookup fields to Roadmap Status:Title they are Status and OldStatus When an item is entered in Roadmap, I want to force the initial Status to "Submit" from Roadmap Status. I don't see any way in my workflow to to lookup that item in Roadmap Status and place the pointer (I'm assuming it is a GUID) into the field. The value is also stored in OldStatus to catch changes as I'm trying to force order of status in a few cases but not all. I'm doing it with a Lookup instead of Choice because the business tends to change the terminology they like and this way I don't change it in several places plus it allows them to change it in the list instead of someone changing the list field values. I've seen several places on the forum where people have a similar problem and Lambert Qin has given an answer but it never fits this scenario exactly. Do I have to go back to Choice columns? I only have Designer and would rather not have to learn another tool for a simple SharePoint implementation. Thanks for any help!

Calculating email address from AD Username in a form

I have  a change request form that has a requied filed where the user enters a valid username.  In my view for this form I want to display this users email address based their username but I when I look at calculated values the username files is not one that I can do calculations from.  Does anybody know how to do this sort of calculation?

SharePoint 2010 email enabled list with workflow has incorrect User ID when items are emailed to the

I have set up an approval workflow for a document library that has email enabled. Emails come into the document library fine, however, if an item is emailed to the library the workflow kicks off with the initiator as "System Account" rather than the person who submitted the email. This makes the error of "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient." come up. If someone submits a document directly to the library (by logging into sharepoint and submitting) everything works fine. The person submitting by email is a valid sharepoint user and the profile shows the correct email address. The Created by and Modified by fields show the correct person (rather than System Account), it's only the workflow User ID that shows incorrectly if document is emailed to library. Any help or ideas would be appreciated. Thanks

workflow email not allowing WF to compile

I have a workflow that is intermittently not working. I have the Action: Send an Email and I am using a SharePoint group to send the email too. Now all of a sudden the workflow won't compile and tells me there are errors. The SharePoint Group is showing up as the problem that won't allow the WF to compile. It looks like this: Email *SharePoint Group* If I put the SharePoint group into the CC field as well as the To field, then the WF compiles. Is this a permission problem?  

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      

Workflow/Task Email Truncating Titles Containing Period "." Sign

We are using the built-in approval workflow which assigns tasks to approvers in a standard task list.  When the email's are sent for both task and approval notifications the title contained in the body is truncated when it contains a period sign.  For example, a file name of "1.2322.343 Test File" shows up just as "1" in the body and subject of the email.  See below. This used to work just fine in MOSS 2007 so I assume this is an issue with 2010.  Anny ideas? Email Body: Approval has started on 1. Participants are Due by 1/1/0001 12:00:00 AM Each person will receive a task to approve 1. The tasks will be assigned one at a time for participants shown above.    

Send a workflow email as plain text


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?

Mail server is Exchange 2003 SP2.


Workflow sending old server name in email


I recently migrated from SharePoint 2007 to SharePoint 2010 using the database attach method to a new server. Server has different name than old server. The migrated sharepoint site collection has been working great. I decided to try workflows (we hadn't used any in MOSS 2007). I added a new workflow to an existing library using the "Approval - SharePoint 2010" reusable workflow. When I start the workflow on a document that needs approved, the approver gets an e-mail stating that a document has been changed (he must have alerts configured for that library). However, URL that the e-mail displays is wrong! It showing the old server name instead of the new one. I browse to the library on the OLD server (which is still online for testing purposes) and that document definitely does not exist in the OLD server library.

Can someone point me in the right direction to troubleshoot? I'm green at SharePoint administration. I already checked DNS and ensured that there were no leftover entries for alternate access mapping names.

Authenticate users using email id instead of username in FBA



We have a web appliaction configured with FBA (sql and LDAP) and users are authenticated using their username. Now we have a requirement to authenticate users using email id instead of username. we have one solution also that requires to change entry in web.config file for membership provider but it doesn't suffice as it works only for newly added users and not existing ones and site is already in production environment with large user base. Any suggestions to meet this requirement?



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