Help to find Error on Cordova-plugin-smtp-client (Meteor Mobile)


#1

Hello im using the cordova plugin cordova-plugin-smtp-client, my code is set as follow:

var mailSettings = {
emailFrom: "xxxxxx@xxx.com",
emailTo: "xxxxxx@xxx.com",
smtp: “mail.sellunlockcodes.com”,
smtpUserName: "xxxxxx@xxx.com",
smtpPassword: “xxxxxx.com”,
port: 25,
subject: “subject here”,
textBody: “body here”,
attachmentsInBase64Format: [],
};

            var success = function(message) {
              window.plugins.spinnerDialog.hide();
              alert("Orden Enviada Satisfactoriamente");
            }

            var failure = function(message) {
              window.plugins.spinnerDialog.hide();
              console.log(message);
            }

            smtpClient.sendMail(mailSettings, success, failure);

but my problem is im getting always the error (INVALID ACTION), if any one can help we how to get the real error so i can fix the problem

Thanks in Advance