Hot answers tagged email
SPUtility.GetLoginNameFromEmail can be used to get login name. SPUtility.GetIdentifierFromEmail can be used to get user id.
No, it’s not possible. The ”Go to SharePoint Site” link uses a one-time URL making the user chose sign in option. Either by an organizational Office 365 account or by a Live-ID account (if it’s external users). This has yet to be resolved/developed by Microsoft. But it’s requested, and may happen in the near future. Reference: How to send invite email to an ...
You are right SP doesn't allow to send you attachments from code so instead use Plain .NET classes and write the code here is a sample you may find helpful. You can attach multiple attachments by repeating add() method. MailMessage mail = new MailMessage(); SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com"); ...
If this is a SharePoint Designer workflow, you can choose to get the display name out of the people picker field instead of the login name.
Try putting a one minute pause in front of your email being sent. There can be a lag and the email gets triggered twice.
SharePoint cannot send email to itself: http://thesharepointfarm.com/2013/03/sharepoint-cannot-send-mail-to-itself/ If you can strip out the X-Mailer value, then you'll be golden.
Only top voted, non community-wiki answers of a minimum length are eligible