#40 Send message fail when register - version 0.8

open
nobody
None
5
2014-08-25
2011-04-28
Anonymous
No

Hi

I did Port 25 test and it´s OK. Manual telnet test OK message arrives OK

Can I create a user by hand in database?

My application,property is

mail.host=localhost
mail.port=25
mail.authenticate=false
mail.username=
mail.password=
mail.from=noreply@mydomain.com

and
my applicationContextNotification.xml
<bean id="mailer"
class="org.springframework.mail.javamail.JavaMailSenderImpl"
p:host="${mail.host}" p:username="${mail.username}"
p:password="${mail.password}"
p:port="${mail.port}">
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.localhost">localhost</prop>
<prop key="mail.smtp.auth">${mail.authenticate}</prop>
<!--<prop key="mail.smtp.starttls.enable">true</prop>-->
<!--<prop
key="mail.smtp.socketFactory.class">javax.net.ssl.SSLSocketFactory</prop>-->
<!--<prop
key="mail.smtp.socketFactory.port">${mail.port}</prop>-->
</props>
</property>
</bean>

Discussion

  • adam

    adam - 2011-04-28

    Your configuration is for an SMTP server on the same host that express is deployed on, not requiring authentication. You're saying that from that server you can telnet to localhost:25 and send an email manually without authentication? If that is true Express should have no problems whatsoever.

    The next version of Express (0.8-RC2) will have a configuration option for switching mail notification off, since I seem to constantly be answering the same questions about mail config. This option is currently on the master branch. If you know how to pull and build you can build this version for yourself. I will likely release it into the wild in about a month when I have finished the XP wall feature.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-02-28

    I seem to be having the exact same problem. My config is:

    mail.host=localhost
    mail.port=25
    mail.authenticate=false
    mail.username=
    mail.password=
    mail.from=noreply@myserver.net

    Right now I have smtp4dev listening on localhost, port 25. I also tried with our network's internal smtp server, but both fail.

    While waiting for RC2, is there a way to enter a user manually into the database?

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-02-28

    I did some more investigation, and I think there's a misconfiguration in the webserver. When clicking on the Register button, an HTTP-POST request is send to http://localhost/data/messagebroker/amf, but POSTs seem to be blocked somewhere along the line.

    If anyone has an idea how to fix this I'd be much obliged. I have IIS 5.1, Isapi_redirect and Tomcat 6.0

     
    Last edit: Anonymous 2015-07-01

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks