I have one requirement which states that we will get email with attached pdf. If the attachment looks fine then we will create wokobject. If it is not fine then we will forward that email with attachment to one mail id. How to attach the attachment we received from incoming mail to new mail which we are going to send.
Sendemailwithallattachments and sendemailwithattachments are for sending the attachment of workobkject which is already created. Is there any OOTB for forwarding inbound email( with attchment) to other workparty.
Try Enabling the Save Orginal eMail check box under eMail Listener -> Process Tab which keeps the incoming email as it is in pyAttachmentPage which can be saved and linked to work object as an attachment.