Page 1 of 1
api to create notificacion
Posted: July 15th, 2024, 4:50 pm
by ludolugo
i wnat to create a notificiation integration with email, if i do it from web GUI it is created eithout problem, when i try it using API it sais Can't connect via SMTP. this is the complete command i am using:
Code: Select all
jetbackup5api -F manageNotificationIntegration -D "action=create&name=Email_notification&type=Email&frequency[4]=1&options[recipients]=jetbackup@****.net&options[smtp]=1&options[smtp_from]=jetbackup@*****.net&options[smtp_host]=mail.*****net&options[smtp_port]=465&options[smtp_username]=jetbackup@*****.net&options[smtp_password]=**********&options[smtp_secure]=ssl&options[smtp_verifyssl]=0"
Re: api to create notificacion
Posted: July 16th, 2024, 1:13 am
by JetAppsKevin
Hello ludolugo,
I reviewed your API command and found a potential typo. Can you please confirm if the following option is correct?
Should it be (missing "." before net?):
If you would like, our Support Team can take a closer look, and you can contact them by emailing
support@jetapps.com or with the contact form below.
https://www.jetapps.com/#contact
Best Regards,
Re: api to create notificacion
Posted: July 16th, 2024, 8:18 am
by ludolugo
yes it's correctl i missed a dot trying to hide the mail server, all options hidden with **** are ok
Re: api to create notificacion
Posted: July 16th, 2024, 10:22 pm
by JetAppsKevin
Hello ludolugo,
Can you please try appending the following option to the end of the API command?
Complete command:
Code: Select all
jetbackup5api -F manageNotificationIntegration -D "action=create&name=Email_notification&type=Email&frequency[4]=1&options[recipients]=jetbackup@****.net&options[smtp]=1&options[smtp_from]=jetbackup@*****.net&options[smtp_host]=mail.*****net&options[smtp_port]=465&options[smtp_username]=jetbackup@*****.net&options[smtp_password]=**********&options[smtp_secure]=ssl&options[smtp_verifyssl]=0&options[smtp_timeout]=15"
The Notification Integration will fail to connect via SMTP if this option is not included.
Best Regards,
Re: api to create notificacion
Posted: July 17th, 2024, 11:16 am
by ludolugo
that was it!! thanks very much!!
Re: api to create notificacion
Posted: July 18th, 2024, 2:58 am
by JetAppsKevin
Hello ludolugo,
I'm glad that I was able to assist! If you encounter any more issues, please do not hesitate to open another post or contact our Tech Support Team by emailing
support@jetapps.com.
Best Regards,