.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

does SPD support filtering of the mail title/body we send to a list/library?

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
for example, if we send a mail with the title of "%hostname% %ipaddress%" to a list. can SPD WF filter the title and get %hostname% to a new variable? the reason to ask this is i want to send a well-formated mail to sharepoint and the automatical WF can recognize the change of the list items and update the relevant columns by the filtered content from mail title or body. thanks!

View Complete Post

More Related Resource Links

WSS OOB Workflow to send e-mail when item added to List?


I need to the below thing in WSS OOB Workflows . IF please let me know if you know
In WSS I have List with Name Emps. and colmns as EMPName as Single line text and EMPemail1,EMPemail2 as people picker fields.

When An item is added to the List worklfow should start and I need to send mail to EMPemail1 column person.
In the next step mail should send to Email2 person.

How do I embed an InfoPath form in the body of an e-mail and have the data go to a SharePoint list w

I've managed to create a form in InfoPath with all the required fields.  I can publish this to be embedded in the body of an e-mail as long as it is not linked to the SharePoint list.  I can also publish the form directly in the SharePoint list so that when you 'Add document' the form appears and can be filled out.  However, I can't publish the form to an e-mail (embedded in the body) and have a end-user submit the information to a SharePoint list.  Is this possible?  If so, what steps am I missing to allow it to happen?  Thanks!

How to update list item with same title and the name of a library?



I'm a newbie to VS and SP Development and thus asking for some help from the community.

I'd like to be able to update a list item from a workflow running on a library, the list item title is the same as the library name. 

Environment is SP2010 Ent. VS 2010.

I have imported a workflow from SPD into VS2010 and I would like to add some code using Linq to update another list.  The query will be something like:

update list item where title is equal to current item list title. 

I'm OK with the easy bit - writing the Linq code and adding the Linq context file etc.  But I don't know where I need to add the update statement.

The import has created a lot of files, the largest of which is the .rules file with about 7000 lines of code.  The placing of the code should be straight forward as I want it to be last thing to happen in the workflow depending on a current item value.

Therefore can anyone help with regards to where in the project I need to put my code?

Thanks in advance.



Toolbox: Create Graphs, Send E-Mail, Spell-Check, and More


Turn boring data into stunning graphs, create, parse, send, and receive mail messages from code, and more.

Scott Mitchell

MSDN Magazine August 2007

Disable filtering on a Dynamic Data list view.


I have an entity set of NotificationTemplates, and each one of these has a collection of zero-many SmsTemplate entities. When editing or viewing a NotificationTemplate, I have a link to View SMS Templates. That link takes me to a List view for the SmsTemplates entity set, filtered for the NotificationTemplate I was viewing.

How can I prevent the user changing this filter to show SmsTemplates for another NotificationTemplate? That is, I want the filter, but it must be read only. The drop-down just mustn't drop down, it must just display the name of the NotificationTemplate that these SmsTemplates belong to. To view SmsTemplates for another NotificationTemplate, the user must click View SMS Templates from that other template.

This was originally asked by myself on SatckOverflow at: http://stackoverflow.com/questions/3514373/disable-filtering-on-a-dynamic-data-list-view

I cannot send mail using gmail smtp server


 Here is my code

Dim message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()
        message.To.Add("from textbox field")
        message.Subject = "Testing"
        message.From = New System.Net.Mail.MailAddress("sender email ")
        message.Body = "Just Testing"

        Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient()

        Dim client As SmtpClient = New SmtpClient()
        smtp.Credentials = New System.Net.NetworkCredential("username", "password")
        smtp.Port = 25
        smtp.Host = "smtp.gmail.com"
        smtp.EnableSsl = True
        smtp.DeliveryMethod = SmtpDeliveryMethod.Network
        lblmsg.Text = "Your Email has send"


How to send mail to individual users.



  I need to send the same mail to multiple users separately. I dont want to use comma delimeted "To Address" . Because other users can able to see the recipients.

   Each recipient should not know about the other recipients. 

   How will I achieve this one without for loop ?


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,


how to embed image in mail body while sending mail in c#.net uisng Exchange2007_SP1.



I am uisng ExchangeVersion.Exchange2007_SP1 EWS to send mail through my c#.net application. I want to embed image in mail body so tht user can see body message along with image in its inbox mail .currently I am uisng image tag to show image but in the email body its just showing image url instead of image.

Video: Large List Support in SharePoint 2010

SharePoint 2010 has support for very large lists of up to 50 million items. With this expanded list size comes the ability to throttle and control how much data is returned to the user and prevent large queries from compromising the SharePoint farm. (Length: 15:36)

E-Mail Alerts for users on Task List


Is there any way to send e-mail alerts to a specific user wihtout assigning them the task or having them subscribe to the list.

It's a Task List on WSS 3 on Win2k3 Enterprise'


send mail don't run

Dim strFrom = "NewsLetter@Kinesiologiaviva.it"             Dim strTo As String = String.Empty             Try                 Dim conn As SqlConnection                 Dim cmd As SqlCommand                 Dim cmdstring As String = "SELECT * FROM vw_MLDestinatari Where [NomeCont]='" & TxtGruppo.Text & "'"                 conn = New SqlConnection(SqlDataSource1.ConnectionString)                 cmd = New SqlCommand(cmdstring, conn)                 conn.Open()                 Dim myReader As SqlDataReader                 myReader = cmd.ExecuteReader(Data.CommandBehavior.CloseConnection)                 While myReader.Read                     strTo &= myReader("Mail") & "; "                 End While            &n

How do I send mail using C#?

Does anyone have a code snippet that shows how to send mail from c#?

How to send E-mail through web site........???

Dear All,    help me in this problem....  "there is one forgot password module in my website.. whenever user click on "forgot password" link then one mail with password directly sent on his email address.." i dont know how do ,, so, help me in this problem...   Thanks, PIYUSH

list webpart, not using the sourse url, but referring back to the library view on close.

i have a webpart which brings a list in to my front page. -when user clicks, it shows  the item, and when he clicks on close,it takes him back to the library view. not back to the page,from where the request has initiated. we are using f5 load balancer, and our webapplications are extended. is there somesetup i am missing, so that i can make the sourse url's refer back to the originating page.        

how do I support a "list of approved applications" that can connect?

Suppose I have two instances of an API -- one for production and one for staging. Both use integrated security. Anybody (on the LAN) can write an application that connects to the staging API. However, I want to restrict the applications that connect to the production API (until they've been well tested, etc.). What is the right way to perform this restriction in WCF? I don't even know what unique terminology to use for a web search on this topic.

Send E-mail with attachment with workflow

I use workflow in custom list. When new item is created and have attachment. An e-mail is send with attachment. I can not add attachment, or I don’t know how to do that with lookup. I can add link with ID of newly created item, which is ok. But I would like to add attachment directly…Borut
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