Skip to main content
added 114 characters in body
Source Link
Keith C
  • 137.3k
  • 29
  • 218
  • 458
  1. Figure out a way to read the attachment data from the "different platform". Typically you will need to first authenticate and then make HTTPS requestsHTTP or HTTPS requests to get the data. Apex includes the building blocks you need for this but the details depend on exactly what the "different platform" offers.
  2. Use the Apex Messaging.SingleEmailMessageand Messaging.EmailFileAttachment classes to send the email addresses. There is an example of that sort of code in the Creating an Email Attachment documentation.
  1. Figure out a way to read the attachment data from the "different platform". Typically you will need to first authenticate and then make HTTPS requests to get the data. Apex includes the building blocks you need for this but the details depend on exactly what the "different platform" offers.
  2. Use the Apex Messaging.SingleEmailMessageand Messaging.EmailFileAttachment classes to send the email addresses. There is an example of that sort of code in the Creating an Email Attachment documentation.
  1. Figure out a way to read the attachment data from the "different platform". Typically you will need to first authenticate and then make HTTP or HTTPS requests to get the data. Apex includes the building blocks you need for this but the details depend on exactly what the "different platform" offers.
  2. Use the Apex Messaging.SingleEmailMessageand Messaging.EmailFileAttachment classes to send the email addresses. There is an example of that sort of code in the Creating an Email Attachment documentation.
Source Link
Keith C
  • 137.3k
  • 29
  • 218
  • 458

  1. Figure out a way to read the attachment data from the "different platform". Typically you will need to first authenticate and then make HTTPS requests to get the data. Apex includes the building blocks you need for this but the details depend on exactly what the "different platform" offers.
  2. Use the Apex Messaging.SingleEmailMessageand Messaging.EmailFileAttachment classes to send the email addresses. There is an example of that sort of code in the Creating an Email Attachment documentation.