cPanel, Industry leading hosting platform with world-class support.
ludolugo
Posts: 59 Joined: April 17th, 2020, 10:40 am
Post
by ludolugo » July 15th, 2024, 4:50 pm
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"
JetAppsKevin
Staff Member
Posts: 44 Joined: October 4th, 2023, 10:44 pm
Post
by JetAppsKevin » July 16th, 2024, 1:13 am
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,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
ludolugo
Posts: 59 Joined: April 17th, 2020, 10:40 am
Post
by ludolugo » July 16th, 2024, 8:18 am
yes it's correctl i missed a dot trying to hide the mail server, all options hidden with **** are ok
JetAppsKevin
Staff Member
Posts: 44 Joined: October 4th, 2023, 10:44 pm
Post
by JetAppsKevin » July 16th, 2024, 10:22 pm
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,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
ludolugo
Posts: 59 Joined: April 17th, 2020, 10:40 am
Post
by ludolugo » July 17th, 2024, 11:16 am
that was it!! thanks very much!!
JetAppsKevin
Staff Member
Posts: 44 Joined: October 4th, 2023, 10:44 pm
Post
by JetAppsKevin » July 18th, 2024, 2:58 am
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,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com