<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set mail.smtp.localhost? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60559#M37440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange - never saw that happening (could it be something with your host configuration of your machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to come back your question: the quickest solution for you will be to extends the existing MailActivityBehavior or create your own JavaDelegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The chance that this gets prioritized quickly in small.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 08:52:28 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-05-13T08:52:28Z</dc:date>
    <item>
      <title>How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60555#M37436</link>
      <description>Hi,I've configured cfg.activiti\standalone\activiti.cfg.xml as follows: &amp;lt;property name="mailServerHost" value="my.smtp.com" /&amp;gt;&amp;lt;property name="mailServerPort" value="25" /&amp;gt;&amp;lt;property name="mailServerDefaultFrom" value="my@email.com" /&amp;gt;&amp;lt;property name="mailServerUsername" value="my@</description>
      <pubDate>Tue, 10 May 2011 14:51:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60555#M37436</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-05-10T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60556#M37437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please let me know if you need more information regarding my question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 12:14:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60556#M37437</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-05-11T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60557#M37438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What exactly does that property do? I mean, is it just setting the smtp servet host to localhost?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 10:01:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60557#M37438</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-05-12T10:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60558#M37439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;mail.smtp.localhost: Local host name used in the SMTP HELO or EHLO command. Defaults to InetAddress.getLocalHost().getHostName(). Should not normally need to be set if your JDK and your name service are configured properly.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Source: &lt;/SPAN&gt;&lt;A href="http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html" rel="nofollow noopener noreferrer"&gt;http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I don't set mail.smtp.localhost, javamail tries "EHLO André-PC" and "HELO André-PC", and they both fail. By properly setting the property, the "EHLO localhost" is used, and the mail is sent. Look:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;DEBUG: setDebug: JavaMail version 1.4.4&lt;BR /&gt;DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]&lt;BR /&gt;DEBUG SMTP: useEhlo true, useAuth true&lt;BR /&gt;DEBUG SMTP: useEhlo true, useAuth true&lt;BR /&gt;DEBUG SMTP: trying to connect to host "XXX.com.br", port 25, isSSL false&lt;BR /&gt;220 XXX.com.br Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at&amp;nbsp; Thu, 12 May 2011 08:45:15 -0300 &lt;BR /&gt;DEBUG SMTP: connected to host "XXX.com.br", port: 25&lt;BR /&gt;&lt;BR /&gt;EHLO André-PC&lt;BR /&gt;501 5.5.4 Invalid Address&lt;BR /&gt;HELO André-PC&lt;BR /&gt;501 5.5.4 Invalid Address&lt;BR /&gt;Exception in thread "main" javax.mail.MessagingException: 501 5.5.4 Invalid Address&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:2023)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:1440)&lt;BR /&gt; at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:644)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:317)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:176)&lt;BR /&gt; at javax.mail.Service.connect(Service.java:125)&lt;BR /&gt; at br.com.test.MailTest.main(MailTest.java:40)&lt;/CODE&gt;&lt;SPAN&gt;Thank you for your time,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 11:49:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60558#M37439</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-05-12T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60559#M37440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange - never saw that happening (could it be something with your host configuration of your machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to come back your question: the quickest solution for you will be to extends the existing MailActivityBehavior or create your own JavaDelegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The chance that this gets prioritized quickly in small.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:52:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60559#M37440</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-05-13T08:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mail.smtp.localhost?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60560#M37441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your tips. I think a dns / mail server config would also fix the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 11:33:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-mail-smtp-localhost/m-p/60560#M37441</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-05-13T11:33:27Z</dc:date>
    </item>
  </channel>
</rss>

