You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create an App in RVD that sends email, you get the following error.
1855971:21:35:16,151 ERROR [org.restcomm.connect.email.EmailService] (RestComm-akka.actor.default-dispatcher-4768) failed to connect, no password specified? WARNING arguments left: 1
1855972:21:35:16,151 ERROR [org.restcomm.connect.sms.smpp.SmppInterpreter] (RestComm-akka.actor.default-dispatcher-4762) There was an error while sending an email :failed to connect, no password specified?: javax.mail.AuthenticationFailedException: failed to connect, no password specified?
1855973- at javax.mail.Service.connect(Service.java:329) [mail-1.4.5.jar:1.4.5]
1855974- at javax.mail.Service.connect(Service.java:176) [mail-1.4.5.jar:1.4.5]
1855975- at javax.mail.Service.connect(Service.java:125) [mail-1.4.5.jar:1.4.5]
1855976- at javax.mail.Transport.send0(Transport.java:194) [mail-1.4.5.jar:1.4.5]
1855977- at javax.mail.Transport.send(Transport.java:124) [mail-1.4.5.jar:1.4.5]
1855978: at org.restcomm.connect.email.EmailService.send(EmailService.java:191) [restcomm-connect.email-8.3.2-199.jar:8.3.2-199]
1855979: at org.restcomm.connect.email.EmailService.onReceive(EmailService.java:144) [restcomm-connect.email-8.3.2-199.jar:8.3.2-199]
1855980- at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159) [akka-actor_2.10-2.1.2.jar:]
1855981- at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425) [akka-actor_2.10-2.1.2.jar:]
1855982- at akka.actor.ActorCell.invoke(ActorCell.scala:386) [akka-actor_2.10-2.1.2.jar:]
1855983- at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230) [akka-actor_2.10-2.1.2.jar:]
1855984- at akka.dispatch.Mailbox.run(Mailbox.scala:212) [akka-actor_2.10-2.1.2.jar:]
1855985- at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506) [akka-actor_2.10-2.1.2.jar:]
1855986- at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) [scala-library-2.10.1.jar:]
1855987- at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [scala-library-2.10.1.jar:]
1855988- at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [scala-library-2.10.1.jar:]
1855989- at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [scala-library-2.10.1.jar:]
If you use the API to send the email like the one below, it works.
Local using port 25 was a config issue after updating the restcomm.xml file to use the same email smtp server as cloud and I created an RVD app on my local restcomm instances, email worked as expected.
If you create an App in RVD that sends email, you get the following error.
1855971:21:35:16,151 ERROR [org.restcomm.connect.email.EmailService] (RestComm-akka.actor.default-dispatcher-4768) failed to connect, no password specified? WARNING arguments left: 1
1855972:21:35:16,151 ERROR [org.restcomm.connect.sms.smpp.SmppInterpreter] (RestComm-akka.actor.default-dispatcher-4762) There was an error while sending an email :failed to connect, no password specified?: javax.mail.AuthenticationFailedException: failed to connect, no password specified?
1855973- at javax.mail.Service.connect(Service.java:329) [mail-1.4.5.jar:1.4.5]
1855974- at javax.mail.Service.connect(Service.java:176) [mail-1.4.5.jar:1.4.5]
1855975- at javax.mail.Service.connect(Service.java:125) [mail-1.4.5.jar:1.4.5]
1855976- at javax.mail.Transport.send0(Transport.java:194) [mail-1.4.5.jar:1.4.5]
1855977- at javax.mail.Transport.send(Transport.java:124) [mail-1.4.5.jar:1.4.5]
1855978: at org.restcomm.connect.email.EmailService.send(EmailService.java:191) [restcomm-connect.email-8.3.2-199.jar:8.3.2-199]
1855979: at org.restcomm.connect.email.EmailService.onReceive(EmailService.java:144) [restcomm-connect.email-8.3.2-199.jar:8.3.2-199]
1855980- at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159) [akka-actor_2.10-2.1.2.jar:]
1855981- at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425) [akka-actor_2.10-2.1.2.jar:]
1855982- at akka.actor.ActorCell.invoke(ActorCell.scala:386) [akka-actor_2.10-2.1.2.jar:]
1855983- at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230) [akka-actor_2.10-2.1.2.jar:]
1855984- at akka.dispatch.Mailbox.run(Mailbox.scala:212) [akka-actor_2.10-2.1.2.jar:]
1855985- at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506) [akka-actor_2.10-2.1.2.jar:]
1855986- at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) [scala-library-2.10.1.jar:]
1855987- at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [scala-library-2.10.1.jar:]
1855988- at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [scala-library-2.10.1.jar:]
1855989- at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [scala-library-2.10.1.jar:]
If you use the API to send the email like the one below, it works.
curl -X POST https://ACf0038edcdbcfab8139bf5b02f7f63e4a:[email protected]/restcomm/2012-04-24/Accounts/ACf0038edcdbcfab8139bf5b02f7f63e4a/Email/Messages.json -d "To=[email protected]" -d "From=[email protected]" -d "Body=This is a test from RestComm" -d "Subject=Test Email"
{
"date_sent": "2018-04-07T02:47:39.622Z",
"account_sid": "ACf0038edcdbcfab8139bf5b02f7f63e4a",
"from": "[email protected]",
"to": "[email protected]",
"body": "This is a test from RestComm",
"subject": "Test Email"
}
The text was updated successfully, but these errors were encountered: