Hi there,
I'm new on this forum so I really hope that I have not missed topic.
I wanna implement Zimbra's API and I would really like to implement REST API. But I have not seen API for send mail on this link
https://wiki.zimbra.com/wiki/Zimbra_REST_API_Reference.
I can only send mails over SOAP API ?
Also, is there any example of WSDL if I must implement SOAP API ?
Thank you very much.
Zimbra API
-
- Zimbra Employee
- Posts: 34
- Joined: Tue Oct 18, 2022 12:16 pm
Re: Zimbra API
You can use the SendMsgRequest message (https://files.zimbra.com/docs/soap_api/ ... ndMsg.html).
From the CLI on Zimbra you can use:
cat /tmp/youremailmsg | /opt/zimbra/common/sbin/sendmail account@example.com
see: https://help.dreamhost.com/hc/en-us/art ... -Sendmail-
For other apis, please refer https://files.zimbra.com/docs/soap_api/ ... index.html
From the CLI on Zimbra you can use:
cat /tmp/youremailmsg | /opt/zimbra/common/sbin/sendmail account@example.com
see: https://help.dreamhost.com/hc/en-us/art ... -Sendmail-
For other apis, please refer https://files.zimbra.com/docs/soap_api/ ... index.html
Re: Zimbra API
Hi,
Does it means we can't Send Mail with REST API (Only with SOAP)?
I will create a new topic to manage my own case (Problem to import Message as Draft with API REST)
but it seems we had limited functionality with REST API and I would like a confirmation please.
Regards,
TGlenard
Does it means we can't Send Mail with REST API (Only with SOAP)?
I will create a new topic to manage my own case (Problem to import Message as Draft with API REST)
but it seems we had limited functionality with REST API and I would like a confirmation please.
Regards,
TGlenard
-
- Zimbra Employee
- Posts: 34
- Joined: Tue Oct 18, 2022 12:16 pm
Re: Zimbra API
There are only two ways to send email either SMTP(exists a lot of tooling) or Zimbra soap API directly.