Tag Info

Hot answers tagged

2

SPUtility.GetLoginNameFromEmail can be used to get login name. SPUtility.GetIdentifierFromEmail can be used to get user id.


2

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 ...


1

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"); ...


1

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.


1

Try putting a one minute pause in front of your email being sent. There can be a lag and the email gets triggered twice.


1

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