Announcement

Collapse
No announcement yet.

Visitor message from mrakftech

Collapse

Profile Sidebar

Collapse
jkrebs
jkrebs
Mirth Guru
Last Activity: 09-03-2021, 05:53 AM
Joined: 02-05-2015
Location: Gulf Coast

  • Visitor message from mrakftech

    mrakftech
    mrakftech posted a Visitor Message for jkrebs
    Please i need your help, everything is fine configured, When i click on Test Email then it works fine. But i when i deploy channel and check messages then this error response

    SMTP Sender error
    ERROR MESSAGE: Error sending email message
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587
    at org.apache.commons.mail.Email.sendMimeMessage(Emai l.java:1401)
    at org.apache.commons.mail.Email.send(Email.java:1428 )
    at com.mirth.connect.connectors.smtp.SmtpDispatcher.s end(SmtpDispatcher.java:253)
    at com.mirth.connect.donkey.server.channel.Destinatio nConnector.handleSend(DestinationConnector.java:88 8)
    at com.mirth.connect.donkey.server.channel.Destinatio nConnector.process(DestinationConnector.java:518)
    at com.mirth.connect.donkey.server.channel.Destinatio nChain.doCall(DestinationChain.java:121)
    at com.mirth.connect.donkey.server.channel.Destinatio nChain.call(DestinationChain.java:63)
    at com.mirth.connect.donkey.server.channel.Channel.pr ocess(Channel.java:1805)
    at com.mirth.connect.donkey.server.channel.Channel.di spatchRawMessage(Channel.java:1267)
    at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:192)
    at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:170)
    at com.mirth.connect.connectors.jdbc.DatabaseReceiver .processRecord(DatabaseReceiver.java:252)
    at com.mirth.connect.connectors.jdbc.DatabaseReceiver .processResultSet(DatabaseReceiver.java:198)
    at com.mirth.connect.connectors.jdbc.DatabaseReceiver .poll(DatabaseReceiver.java:144)
    at com.mirth.connect.donkey.server.channel.PollConnec torJob.execute(PollConnectorJob.java:49)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:2 13)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.java:557)
    Caused by: javax.mail.internet.ParseException: Expected MIME type, got null
    at javax.mail.internet.ContentType.<init>(ContentType .java:95)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1420)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1110)
    at javax.mail.internet.MimeMultipart.updateHeaders(Mi meMultipart.java:500)
    at javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1443)
    at javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:2180)
    at javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:2142)
    at javax.mail.Transport.send(Transport.java:123)
    at org.apache.commons.mail.Email.sendMimeMessage(Emai l.java:1391)
    ... 16 more

  • jkrebs
    commented
    The quotes can be replaced w/CC.

  • jkrebs
    commented
    You should need only 3 things to have mail setup correctly to send to any address: 1) SMTP host set w/correct port 25 2) Connection opened from transformer or code template via javascript to communicate to SMTP host (SMTPconn = SMTPConnectionFactory.createSMTPConnection()) and 3) the SMTP.send command (SMTPconn.send(to, '', subject, body))
  • Leave a comment:

Working...
X