Hi Code It,
We're having an issue with setting custom Reply-To Names and Reply-To Addresses when using the 'CreateHtmlEmail' and 'UpdateHtmlEmail' methods. I'm including the request/response below, please note that I indicate both the ReplyToName and ReplyToAddress parameters but the Email doesn't take those on.
Request:
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://secure.eloqua.com/API/1.2" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<env:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>IHSIncSandbox\Ilya.Hoffman</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">[REMOVED]</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</env:Header>
<env:Body>
<tns:UpdateHtmlEmail>
<tns:email>
<tns:Id>10700</tns:Id>
<tns:Name>[PMP]_4558_Testingrn_PreviewEmail_IH</tns:Name>
<tns:Subject>T1</tns:Subject>
<tns:AutoGenerateTextContent>true</tns:AutoGenerateTextContent>
<tns:EncodingId>1</tns:EncodingId>
<tns:FooterId>1</tns:FooterId>
<tns:FromAddress>test@ihs.com</tns:FromAddress>
<tns:FromName>T1</tns:FromName>
<tns:HeaderId>1</tns:HeaderId>
<tns:HtmlContent>Hello World!</tns:HtmlContent>
<tns:SendHtml>true</tns:SendHtml>
<tns:NeverExpires>true</tns:NeverExpires>
<tns:ReplyToAddress>reply@ihs.com</tns:ReplyToAddress>
<tns:ReplyToName>Reply Test</tns:ReplyToName>
<tns:SendToUnsubscribes>false</tns:SendToUnsubscribes>
<tns:Tracked>true</tns:Tracked>
</tns:email>
</tns:UpdateHtmlEmail>
</env:Body>
</env:Envelope>
Response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<ActivityId CorrelationId="7052c8fd-1ca2-4aca-9608-4b033717cd2d" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">9eec4480-4856-48c1-9835-0633e518948a</ActivityId>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2013-08-30T19:37:28.427Z</u:Created>
<u:Expires>2013-08-30T19:42:28.427Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<UpdateHtmlEmailResponse xmlns="https://secure.eloqua.com/API/1.2">
<UpdateHtmlEmailResult>true</UpdateHtmlEmailResult>
</UpdateHtmlEmailResponse>
</s:Body>
</s:Envelope>
Then retrieving the details for the same email:
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="https://secure.eloqua.com/API/1.2">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>IHSIncSandbox\Ilya.Hoffman</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">[REMOVED]</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ns:GetEmailDetails>
<ns:emailId>10700</ns:emailId>
</ns:GetEmailDetails>
</soapenv:Body>
</soapenv:Envelope>
Response:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<ActivityId CorrelationId="153f216a-97c0-4f0b-98bc-41f19734ca9f" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">19a9ec9b-882c-4ef2-b706-d01fd9e4a37a</ActivityId>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2013-08-30T19:39:50.509Z</u:Created>
<u:Expires>2013-08-30T19:44:50.509Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<GetEmailDetailsResponse xmlns="https://secure.eloqua.com/API/1.2">
<GetEmailDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Id>10700</Id>
<Name>[PMP]_4558_Testingrn_PreviewEmail_IH</Name>
<Subject>T1</Subject>
<AutoGenerateTextContent>true</AutoGenerateTextContent>
<BouncebackAddress>IHSIncSandbox@s1517210858.m.en25.com</BouncebackAddress>
<EncodingId>1</EncodingId>
<FooterId>1</FooterId>
<FromAddress>test@ihs.com</FromAddress>
<FromName>T1</FromName>
<GroupId>123</GroupId>
<HeaderId>1</HeaderId>
<HtmlContent>Hello World!</HtmlContent>
<NeverExpires>false</NeverExpires>
<ReplyToAddress>newclient@en25.com</ReplyToAddress>
<ReplyToName>IHS Inc Sandbox</ReplyToName>
<SendHtml>true</SendHtml>
<SendToUnsubscribes>false</SendToUnsubscribes>
<TextContent>Hello World!</TextContent>
<Tracked>true</Tracked>
</GetEmailDetailsResult>
</GetEmailDetailsResponse>
</s:Body>
</s:Envelope>