1

Is it possible to send an e-mail with attachment in Office 365? As attachment we would want the attachment from a listitem or a document from a document library.

Maybe with the use of webservices or other solutions... ?

FYI, I tried using a SMTP server in a custom webpart (which failed because SMTP isn't allowed)

Microsoft suggested this solution (but wasn't sure if it would work):

Connect with webservice to an Azure Service.

Is this solution possible? (I have no knowledge of Azure AT ALL)

1

1 Answer 1

0

To solve this, we created a Worker role in Windows Azure. With the client object model (ecmascript) we add items to a custom list on the rootweb of the sitecollection. We store everything we need about the e-mail message (from, to, cc, bcc, subject, body, attachmenturl's,...) After an item is created in this list, the workerrole on Azure starts working, processes the item and sends an e-mail to users, impersonating as the user in the "from" address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.