Send Attachments in Email - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Send Attachments in Email

Last post 07-07-2022 02:05 PM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-07-2022 01:00 PM

    • JohnSM
    • Top 500 Contributor
      Male
    • Joined on 06-19-2018
    • Denver, CO
    • Posts 48

    Send Attachments in Email

    Infopath 2013, SP 2013 On Premise. I need to send an attachment in an email. I've tried adding a Link to it and I get a 404, Page not Found. If I just add it as a Field from the Current Item, all I get in the email is 'True'. How can I get an attachment to get attached to the email? Thanks, John
  • 07-07-2022 01:02 PM In reply to

    • JohnSM
    • Top 500 Contributor
      Male
    • Joined on 06-19-2018
    • Denver, CO
    • Posts 48

    Re: Send Attachments in Email

    This is in a List, Attachments to list items are: Enabled
  • 07-07-2022 02:05 PM In reply to

    Re: Send Attachments in Email

    So - it's been a while since I've used SharePoint Designer workflow - but I think there might be an action for calling a web service? If so - you can get list attachment URLs with the REST API (test the URL in your browser first, to verify) - with a rest endpoint like: https://yoursite/sites/yoursitecollection/_api/web/lists/getbytitle('YourListTitle')/items(1)/attachmentfiles 

    Note: I'm using placeholders for the site url, list name, and you'd replace the 1 with the ID for your list item. But this should return the URLs for your attachments so you can include a link to them in the email.....

    Hilary Stoupa

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.