Tag Info

Hot answers tagged

9

You will need to go into Central Administration and update the outgoing email settings for the farm to point to the new email server. You should also check that web application itself is pointing to the new email server as well since the Web Application settings override the farm settings. You also might want to check your Event Logs and LOGS folder to see ...


8

There is a lot of very useful information from Microsoft but SharePoint Alerts are counter-intuitive on a lot of levels. The number one rule when dealing with them is to never assume that they follow a predictable pattern because they do not and will surprise you every time. They also love to work perfectly for 100 days straight, then for no discernible ...


7

Here is my implementation of Vedran's answer: First, in a feature receiver, I swapped the Event content type with the Schedule content type to take advantage of the Attendees field (and the cool Free/Busy field!): SPList list = lists["Calendar"]; SPContentType newContentType = ...


6

One of solutions is to add new people type column (or use OOTB Attendees column) to calendar for storing meeting attendees. Then you can write custom event receiver for calendar list that handles email notification(s) according to meeting changes (attendee added, deleted, meeting canceled etc.). This approach is not simple but has some benefits (you can ...


6

By default, there is no logging mechanism in SharePoint for outgoing mails. Mails in SharePoint are sent by giving an SMTP sever IP address in Central Administration. SharePoint never sends email directly. It relays or routes mails to the SMTP server. So, logging should be done in the SMTP server itself. There is also another way of doing it. You can ...


5

There are a couple of ways to make it easy for users to store email in SharePoint. One way is to enable incoming email. The article Configure incoming e-mail (SharePoint Server 2010) on TechNet covers this in detail. This involves some environmental changes to setup email addresses that will be routed to your SharePoint server (e.g. Active Directory and/or ...


5

Dave has a good answer, however, if this has been done, I would check to make sure that the relay is set up correctly to allow all traffic from the IP addresses of all servers in your farm without authentication. It appears that your code may send credentials while the alerts and OOTB workflow emails are not sent using any particular credentials.


5

When you add a user / group in SharePoint, you should see "Send an email invitation" check box to control whether or not send the welcome e-mail to the new users. You could clear that check box and it should fix your problem. Also, there are some situations when "Send an email invitation" is hidden. I checked dialog's code-behind by reflector and find ...


4

Make sure you have no white space between your tags when you add/refrence it in SPD, should be one nice long string. i.e. <table><tr><td><p><span></span></p></td></tr></table><etc...> Try encapsulating your content into a table or div and setting margin to 0 and/or adding a negative for the ...


4

You have to change a system setting that allows workflows to run when emails are received in an email-enabled doc lib. Other than this, System Account is not allowed to run workflows for security purposes. It will only work when an email is received, not when an item is edited by System Account. You should not be editing items with the System Account: ...


4

I assume this still works in SharePoint 2010: you should create a modified template file AlertTemplates_edited.xml in ...\14\TEMPLATE\XML (don't modify the original file - make a new version with a new name). You then need to use an stsadm command: stsadm -o updatealerttemplatefiles, and probably do an iisreset and bounce the timer service. Another way, ...


4

If you want to send a document as an attachment, you will need to write custom code. Use a feature to create a custom action that adds the "Send as attachment" link to the ECM. <UrlAction Url="~site/_layouts/MyApp/MyCustomPage.aspx?ItemId={ItemId}&amp;ListId={ListId}" /> Clicking this menu item navigates to a custom application page where the ...


4

Here is link to get you started with developing workflows with Sharepoint designer: http://office.microsoft.com/en-us/sharepoint-designer-help/introduction-to-designing-and-customizing-workflows-HA101859249.aspx You can easily create workflows in Designer and use workflow action 'Send an e-mail message' to reach your goal. If you have any additional ...


4

You don't have to use workflows for this basic actions, if you don't want to change body of outgoing e-mails, try to use alerts, here is the page with step-by-step guide. http://sharepointalert.info/2009/09/getting-started-with-sharepoint-alerts You can setup alerts for new items only, for changes or for deleted items only.


4

I have not had an opportunity to try this, but there is a constructor of SPUtility.SendEmail which accepts a StringDictionary of MessageHeaders. According to this link, these are the 3 headers Microsoft uses to create a high priority email. X-Priority: 1 (Highest) X-MSMail-Priority: High Importance: High So to use it with SPUtility.SendEmail, use this ...


4

ItemAdding/ItemAdded is only triggered once, when the item is created. I guess for your problem it would be the ItemUpdating event: public override void ItemUpdating(SPItemEventProperties properties) { string value1 = Convert.ToString(properties.AfterProperties["Value1FieldInternalName"] ?? properties.ListItem["Value1FieldInternalName"]); string value2 ...


4

Might I suggest switching to using the System.Net.Mail.MailMessage object instead of SPUtility. SPUtility.SendEmail is a good shortcut but, as you've seen, you lose a lot of control over how the message is sent and formatted. The MailMessage object gives you that back but does require just a tiny bit more work. To answer your specific question, the ...


4

On SharePoint2007, you cannot access SharePoint object like SPWeb from JavaScript. Only on SharePoint 2010, the client object model was added that enables interaction with the SPWeb object (see this link) Specifically, the easiest solution for the problem of sending an email from client side code is wtriting an Ajax callback, the client code uses the ...


4

Depending on the list you can save emails to them. If you mean emailing to a list then that is possible with announcements and discussion boards. Here's how to set that up: Go to the List that you want to save emails to. Go to the List tab under List Tools -> click List Settings Click the Incoming e-mail settings Select Yes under "Allow this list to ...


3

This is most likely due to the fact that these emails are inserted into the Document Library using the System Account, which doesn't trigger Workflows by default for security reasons. Try stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true For more details see Microsoft Support Google


3

You should NEVER execute any SQL directly for production SharePoint databases (except the reporting database). You should use PowerShell or the Object Model. There is no way to set the default that I can see. You can loop through the existing profiles and look for the "SPS-EmailOptin" property. Then set it to 7. The challenge is to determine the profiles ...


3

OK, so I've basically cheated by doing a jQuery update to the page instead:- $(function() { $("a[href^=mailto:]").each(function(){ var sEmailAddress = $(this).text(); $(this).replaceWith(sEmailAddress); }); }); If anyone does know if the mailto link conversion can be disabled I'd be interested to know, but the work around does ...


3

email to a document library MUST have an attachment? Don't think that's true. Check out the screenshot above (it's a bit small, sorry). Ensure you have set the "Save Original Email" set to true. Let's assume for now that would fix it, you have answered a large part of your question already. I would implement an event receiver to handle the parsing of the ...


3

I am unsure about SharePoint 2010 but one thing that you can do with SharePoint 2007 is to Enable a List to Receive Emails and once the Email is added to the List / Lib you can configure the Workflow on Item Added. PS:This answer will help someone who want to do it in the SharePoint 2007.


3

When you create your OnNotification method you can access the list item with code similar to this. public bool OnNotification(SPAlertHandlerParams ahp) { SPSite site = new SPSite(ahp.siteUrl+ahp.webUrl); SPWeb web = site.OpenWeb(); SPList list=web.Lists[ahp.a.ListID]; SPListItem item = ...


3

Reading through the following two blog posts really helped answer how the email alert templates work (moreso the first): http://www.rightpoint.com/community/blogs/viewpoint/archive/2010/08/26/the-truth-about-how-daily-sharepoint-alerts-actually-work.aspx ...


3

The guide mentions there being a delay between sending your email and seeing the document show up. I assume it is a timer job that performs the email pickup tasks. Is the SharePoint timer service running? It is called SharePoint 2010 Timer If the service IS running, are you able to see your job running in central admin? No jobs should be running right now ...


3

I don't know of anything in the Client Object Model that lets you do this directly, but if you don't want to have to deploy a custom web service, you could probably make a list with a simple workflow that sends an email, and then just have your web part put an entry in the list and make sure it contains the columns you'll need to build the email message in ...


3

I know this is an old thread, but there are free codeplex solutions that will do what you are asking. http://SharePointStuff.Codeplex.com adds a new activity to SharePoint Designer that allows you to send an email with an attachment. If used on a list item it will send any documents attached to the item or if used on a document library it will send the ...


3

I'm assuming you have users setting up their own alerts, so you can't really handle this as the alerts are created, but you can change the behavior of existing alerts programatically. I would recommend iterating through SPWeb.Alerts, check each SPAlert object to see if it's scoped to your list (alert.AlertType == SPAlertType.List && alert.ListID == ...



Only top voted, non community-wiki answers of a minimum length are eligible