Zimbra API

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
LabanLuka
Posts: 1
Joined: Wed Nov 25, 2020 8:03 pm

Zimbra API

Post by LabanLuka »

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.
Damini Vashishtha
Zimbra Employee
Zimbra Employee
Posts: 32
Joined: Tue Oct 18, 2022 12:16 pm

Re: Zimbra API

Post by Damini Vashishtha »

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
tglenard
Posts: 15
Joined: Fri Apr 02, 2021 7:37 am

Re: Zimbra API

Post by tglenard »

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
Damini Vashishtha
Zimbra Employee
Zimbra Employee
Posts: 32
Joined: Tue Oct 18, 2022 12:16 pm

Re: Zimbra API

Post by Damini Vashishtha »

There are only two ways to send email either SMTP(exists a lot of tooling) or Zimbra soap API directly.
Post Reply