JOb Submission successfull: But didnt receive the email

HI

 

I have submitted the job successfully but not able to receive the email.

The Job Number 1548534

 

 

Comments

  • The issue here is that no "Treatment" was specified for the document that was provided, and therefore it was not included in the actual submitted message.

    Here is what would need to be added to the XML:

    <ns2:Part>
    <ns2:Document ref="email_pdf">
    <ns2:DocType>PDF</ns2:DocType>
    <ns2:DocData format="base64">JVBERi0xLjMKJeLjz9MKMSAwIG9iajw8L1R5c....</ns2:DocData>
    </ns2:Document>
    </ns2:Treatment>body</ns2:Treatment>
    </ns2:Part>

    By the way - this job as submitted will result in a "standard" email job, which does not have some of the email features you might expect.

    You might want to use the <EnhancedEmailOptions> tag to ensure that the job is processed as a more full-featured email.  If you do that, however, you will need to add a text or HTML email body to your submission (in which case the PDF should be given a <Treatment> of attachment.


  • HI

    I have added the treatment type...But stilll not able to receive the email.

    JOb Number 1516212

    Also, Not able to send the data with enhanced email option. It returns null. Please ifnd the piece of cde below.

    enhancedemailOptionsType.setFromAddress("abhishek.ranjan@db.com"); 

    enhancedemailOptionsType.setSubject(subject);

    jobOptions.setEnhancedEmailOptions(enhancedemailOptionsType);jobMessage.setJobOptions(jobOptions);DeliveryItemGenericType emailType = new DeliveryItemGenericType();

    emailType.setType(AddressType.INTERNET);emailType.setAddress(abhishek.ranjan@db.com

    );itemType.getListOrSmQueryOrTable().add(emailType);

     

    jobMessage.setDestinations(itemType);

     

  • The reason the original message failed was that more is needed in <JobOptions> - I fixed it by adding the following:

    <ns2:JobOptions>
    <ns2:EmailOptions/>
    </ns2:JobOptions>

    So even though we did not want to specify any of the sub-options within <EmailOptions>, we still needed to specify the element to instruct the system to treat the job as an email job.

    I also had to change the <Treatment> from "attachment" to "body" (as noted earlier).  I will attach the resulting XML which did properly deliver to me.

    As for the EnhancedEmailOptions, I can't see what went wrong from your code snippet above.  One thing I know for sure is that the ability to use setFromAddress is limited and only available via system permissioning, so I would leave that out for now.

    You may be receiving a SOAP fault or some other error that is causing your processing to fail.  If you can update your code to look for and print out the SOAP <faultstring> or the status from the actual JobSubmit, that would probably point you in the right direction.  Also, if you specify a unique <RequestID> in the SOAP header, we might be able to capture the system processing in the logs based on that value.  Finally, if you can save the XML that is generated and share that, we should be able to help troubleshoot.

  • Hi

    Thanks for  updtae.

    The previous one is working fine when I am submitting the doc type as text or HTML with enhanced email option.

    When I am sending PDF as attachment in enhanced email option it does not work. Event it returns the status code 0 means successfull. There is no error.

    Also please note that the same pdf is sent as attachemnt successfully with simple emailOptionType.

    It looks like som eissue with TreamtmentType as attachment.

    The code is pasted here:

     

     

    ContentPartType.setTreatment(TreatmentType.ATTACHMENT

    );
     

     DocDataType.setFormat(com.premiereconnect.premconn._2007._02.DocEncodingFormat.BASE_64

    );

     

    ContentPartType.setDocument(DocumentType);ContentsType.getPart().add(ContentPartType);

    DocumentType.setDocType("PDF");

     
    DocumentType.setFilename("test.pdf");  DocDataType.setValue("JVBERi0xLjMKJeLjz9MKMSAwIG9iajw8L1R5cGUvUGFnZXMvQ291bnQgMS9LaWRzWzIgMCBSXT4+CmVuZG9iagozIDAgb2JqPDwvVHlwZS9DYXRhbG9nL1BhZ2VzIDEgMCBSPj4KZW5kb2JqCjQgMCBvYmo8PC9Qcm9jU2V0Wy9QREYvSW1hZ2VDL1RleHRdL0ZvbnQ8PC9GMSA1IDAgUi9GMyA2IDAgUj4+Pj4KZW5kb2JqCjcgMCBvYmogPDwvTGVuZ3RoIDIyMzYvRmlsdGVyL0ZsYXRlRGVjb2RlPj5zdHJlYW0KSuYBoMBjPUKbjpfdqckYLkDxQWYAaKgOMHsyD9RL6eup2obhpWC6cyYP5xhzbjPnjTq6EeleQZEWModRkMFLcT79RtXarZxEgqgD/gAjhEsNjGrKF3cjuvOEnNkpLeuEX5elZ9s5bM1tEI2e3L+MtQav3sF9M+sVTk28M9RjLjFMQvhHEtcS55puYmH3JJef2XeTPemSm3Mf1EQAxaO6BgcQVSwiAwTsHrG7EoCs/UN398Yi1UzUYJSs6i7o+zy2ROz+F7aM6GuUE+UuD5USoP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vRmlsdGVyL1N0YW5kYXJkL1IgMj4+CmVuZG9iago5IDAgb2JqPDwvUHJvZHVjZXIo9YGVNSkvVHlwZS9JbmZvPj4KZW5kb2JqCnhyZWYKMCAxMAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMTUgMDAwMDAgbiAKMDAwMDAwMjQ4NSAwMDAwMCBuIAowMDAwMDAwMDY1IDAwMDAwIG4gCjAwMDAwMDAxMDkgMDAwMDAgbiAKMDAwMDAwMjU4MCAwMDAwMCBuIAowMDAwMDAyNjc1IDAwMDAwIG4gCjAwMDAwMDAxODEgMDAwMDAgbiAKMDAwMDAwMjc3NSAwMDAwMCBuIAowMDAwMDAyOTAwIDAwMDAwIG4gCnRyYWlsZXIKPDwvUm9vdCAzIDAgUi9JRCBbPDM4Yzk4NWY5Y2FkODJiMDJiNjJiODM5OWUzYTk3MTJjPjwzOGM5ODVmOWNhZDgyYjAyYjYyYjgzOTllM2E5NzEyYz5dL0VuY3J5cHQgOCAwIFIvSW5mbyA5IDAgUi9TaXplIDEwPj4Kc3RhcnR4cmVmCjI5NDQKJSVFT0YK"); 

    DocumentType.setRef("email_pdf");

    Please  find the job details:

    Job Number 1511927

    Processing ID 0ACD3608-1158-110331054742198

     

     

     MessageId =10013

  • For the EnhancedEmail jobs, if you want to include the PDF file as an attachment, you must also provide a text or HTML body with a treatment of "body" in the same message.

    EnhancedEmail jobs can not send PDF files as the body, and they won't handle the attachment if there is not also a body.

    Unfortunately, I don't see any logs in the system that would indicate that this is happening, so my best guess is that these attempts are not even making it into the system. 

    Can you save your HTML before you submit it and provide it here?  Then maybe we can help figure out the problem further.

  • Thanks a lot.

    I am able to resolve the issue.

     

    one last query, how to remove the following footers from email. Its automatically attached.

     

    ---------------------------------------------------------------------

     

    If you would prefer not to receive further messages from this sender:

     

    1. Click on the Reply button.

     

    2. Replace the Subject field with the word REMOVE.

     

    3. Click the Send button.

     

    You will receive one additional e-mail message confirming your removal.