Hi all, I am attempting to send an email with the oxf:email processor. I believe my input XML is set up correctly, but I'm getting the following error trying to send the email:501 Syntax: HELO hostname in oxf:/apps/ceramics/xpl/xforms/send-email.xpl line 8 (javax.mail.MessagingException) Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 servername ESMTP Postfix (Ubuntu) helo 501 Syntax: HELO hostname Thanks, Ethan You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Ethan,
I don't remember seeing this in the past, so this might be due to you using the email processor with a config we haven't tried before. Would you be able to share with what are the inputs you provide to the email processor, so I can try this here? Also, could you paste the whole Java stack trace? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
-- Here's the XPL: https://github.com/kerameikos/framework/blob/master/xpl/xforms/send-email.xpl I am calling the XPL within the XForms app, passing in #email-input. I am returning #email-input as the output data back to the XForms app, as I got an error when xxforms:call-xpl failed to include an output. The XForms app is at https://github.com/kerameikos/framework/blob/master/xforms/invite.xhtml. It is fairly straightforward. It accepts an email address in the form, and a trigger then sends an email to this address.
On Friday, October 17, 2014 9:09:36 PM UTC-4, Alessandro Vernet wrote: Hi Ethan, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
I forgot to include the following (copied and pasted out of the orbeon.log) An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |501 Syntax: HELO hostname | |----------------------------------------------------------------------------------------------------------------------| |Application Call Stack | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/ceramics/xpl/xforms/send-email.xpl |executing processor | 8| |······················································································································| |element=<p:processor name="oxf:email">[...]</p:processor> | |name ={<a href="http://www.orbeon.com/oxf/processors}email">http://www.orbeon.com/oxf/processors}email | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/ceramics/xforms/invite.xhtml |running XForms action | 101| |······················································································································| |element =<xforms:action ev:event="DOMActivate" id="xf-13">[...]</xforms:action> | |action name=xforms:action | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/ceramics/xforms/invite.xhtml |running XForms action | 115| |······················································································································| |element =<xforms:insert nodeset="instance('dump')" origin="xxforms:call-xpl('oxf:/apps/ceramics/xpl/xforms/send-ema| |action name=xforms:insert | |----------------------------------------------------------------------------------------------------------------------| |oxf:/apps/ceramics/xforms/invite.xhtml |evaluating XPath expression | 115| |······················································································································| |expression=xxforms:call-xpl('oxf:/apps/ceramics/xpl/xforms/send-email.xpl', 'email-input', instance('email-input'), 'd| |----------------------------------------------------------------------------------------------------------------------| |----------------------------------------------------------------------------------------------------------------------| |Exception: javax.mail.MessagingException | |----------------------------------------------------------------------------------------------------------------------| |com.sun.mail.smtp.SMTPTransport |issueCommand |SMTPTransport.java |1250| |com.sun.mail.smtp.SMTPTransport |helo |SMTPTransport.java | 774| |com.sun.mail.smtp.SMTPTransport |protocolConnect |SMTPTransport.java | 316| |javax.mail.Service |connect |Service.java | 233| |javax.mail.Service |connect |Service.java | 134| |javax.mail.Service |connect |Service.java | 86| |com.sun.mail.smtp.SMTPTransport |connect |SMTPTransport.java | 144| |javax.mail.Transport |send0 |Transport.java | 150| |javax.mail.Transport |send |Transport.java | 80| |rbeon.oxf.processor.EmailProcessor$$anonfun$start$2|apply |EmailProcessor.scala | 218| |rbeon.oxf.processor.EmailProcessor$$anonfun$start$2|apply |EmailProcessor.scala | 217| |org.orbeon.oxf.util.ScalaUtils$ |useAndClose |ScalaUtils.scala | 97| |org.orbeon.oxf.processor.EmailProcessor |start |EmailProcessor.scala | 217| |g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run |PipelineProcessor.java | 618| |----------------------------------------------------------------------------------------------------------------------| |Exception: org.orbeon.oxf.common.ValidationException | On Mon, Oct 20, 2014 at 3:31 PM, ewg4xuva <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Ethan,
And I imagine you used properties to setup the SMTP host (and possibly the username/password) to use? Is that a publically accessible SMTP server? If it is, could you add a debug on the data input of your email processor, and give me the properties you're using, so I can try to run this locally and reproduce the issue? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |