Need Email jobsubmit SOAP request example

Options

I am looking for simple text email request example for SOAP JobSubmit. All i could find is fully coded verses just the XML to test with.

Documentation link: https://apiforums.easylink.com/emapidocs/26/JobSubmit/JobSubmitRequest.html#LN47

Comments

  • <?xml version="1.0" encoding="UTF-8"?>
    <tns:Envelope xmlns:tns = "http://schemas.xmlsoap.org/soap/envelope/">
    tns:Header
    <Request xmlns = "http://ws.easylink.com/RequestResponse/2011/01">
    <ReceiverKey>http://xoa.xpedite.com/soap/sync</ReceiverKey>
    <Authentication>
    <XDDSAuth>
    <RequesterID>username</RequesterID>
    <Password>password</Password>
    </XDDSAuth>
    </Authentication>
    </Request>
    </tns:Header>
    tns:Body<JobSubmitRequest xmlns = "http://ws.easylink.com/JobSubmit/2011/01">
    <Message>
    <JobOptions>
    <BillingCode>QA3</BillingCode>
    <CustomerReference b64charset = "binary">xoa 3.0 test</CustomerReference>
    <Delivery>
    <Schedule>express</Schedule>
    </Delivery>
    <EnhancedEmailOptions>
    <ExpirationDays>14</ExpirationDays>
    <Subject>subject name</Subject>
    <AutoSendFriend>no</AutoSendFriend>
    <CharacterSet>ISO-8859-1</CharacterSet>
    <HTMLOpenTracking>bottom</HTMLOpenTracking>
    </EnhancedEmailOptions>
    </JobOptions>
    <Destinations>
    <DeliveryItemGeneric type = "internet">
    <Address>email@company.com</Address>
    </DeliveryItemGeneric>
    </Destinations>
    <Reports><DeliveryReport>
    <DeliveryReportType>none</DeliveryReportType>
    </DeliveryReport>
    <FinalReport>
    <ReportType>none</ReportType>
    </FinalReport>
    <FriendReport>
    <FriendReportType>none</FriendReportType>
    </FriendReport>
    </Reports><Contents>
    <Part>
    <Document>
    <DocType>text</DocType>
    <Filename>test.txt</Filename>
    <DocUrl>urlofthefile</DocUrl>
    </Document>
    <Treatment>body</Treatment>
    </Part>
    <Part>
    <Document>
    <DocType>BMP</DocType>
    <Filename>BMP_File.bmp</Filename>
    <DocUrl>urlofthefile</DocUrl>
    </Document>
    <Treatment>attachment</Treatment>
    </Part>
    </Contents>
    </Message>
    </JobSubmitRequest>
    </tns:Body>
    </tns:Envelope>

    Please find the sample

    Prabhakaran R
    OpenText