Posts tonen met het label Users from active directory. Alle posts tonen
Posts tonen met het label Users from active directory. Alle posts tonen

maandag 21 maart 2011

SharePoint Sending an e-mail with an attachment to a member of an Active Directory

I had the problem that when for instance a bill was created, I want to have it sended to the e-mail of the salesman and to the e-mail from the customer.

The problem I faced was that I’ve had selected the customer from a combobox who’s filled not with users / groups but with a simple string.  And also that i wanted to add the created file in the attachment of the e-mail.

The solution:

I’ve used Send E-mail with HTTP file attachement from the actionslist from a WorkFlow that is connected to a Directory

  • Destination:
    • I had to select the column where my customer is placed
  • Sender:
    • just put an e-mail adres, doesn’t have to exist
  • Name of the attached file:
    • Give it a general name
    • add to the end of the name a . and a Lookup of the FileType / Bestandstype
  • HTTP-URL of the file:
    • Just use the Encoded Absolute URL / Gecodeerde absolute URL and the file will automatically be selected

The action isn’t a standard from SharePoint, it’s a custom action from SPDActivities