Forward
-
Hi,
When I use the email forwarding feature, I don't see how to add two destination email addresses.
<Response version="23.0" et="0.034807">
<Status id="0" value="0xC1420082" message="The Email address specified is invalid" keyWord="jmeilan@ssd.es, testing@comm.com" url="http://www.w3.org/Protocols/rfc822/#z8" />
</Response>It is possible to forward to two accounts.??
-
Keith Staff
Javier, did you try separating the recipients with semi-colons?
-
Hi @Keith Personett
Yes, I have tried it, semicolon, colon, separated by spaces, separated by semicolon and between double quotes.
And it always returns the error that it is not a valid email.Any Idea?
-
Something must not work correctly. It gives an email failure error because it is not a valid email, but it deletes the information that was recorded on the server.
-
Keith Staff
I misunderstood, I though you were sending mail via the XmlApi. You are setting Forwarding Addresses on an account... I will look into that and get back to you by Tuesday sometime, okay?
-
After reading the documentation and conducting some tests, I have seen how to input multiple email addresses for forwarding, and it seems that you have to include them one by one.
<?xml version="1.0" encoding="utf-8"?>
<MDaemon>
<API productversion="23.0.2" serviceversion="23.0.2.4">
<Request verbose="0" echo="1" version="22.5">
<Operation>UpdateUser</Operation>
<Parameters>
<Domain>com.es</Domain>
<Mailbox>testingApi</Mailbox>
<Forwarding>
<Enabled>false</Enabled>
<SendAs />
<RetainMail>false</RetainMail>
<Addresses>
<Address>jmeilan@com.es</Address>
<Address>jsanchez@comes</Address>
</Addresses>
<Schedule>
<Start>0000-00-00T00:00:00.000Z</Start>
<End>0000-00-00T00:00:00.000Z</End>
<DaysActive mask="0x00" />
</Schedule>
</Forwarding>
</Parameters>
</Request>
<Response version="23.0" et="0.030048">
<Status id="0" value="0x00000000" message="La operación se completó correctamente." />
</Response>
</API>
</MDaemon>