Menu

smtp VM version 4.5 not work, not send mail

Help
Tzweistein
2009-03-04
2013-05-01
  • Tzweistein

    Tzweistein - 2009-03-04

    Hi, I've modified the dimdip.proprieties file:
    /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/webapps/dimdim/WEB-INF/classes/resources/
    , in Opensource version, like this:
    [....]
    email.server=my.smtp.server.com
    email.user=myuser
    email.password=mypassword
    email.sender=dimdim@mydomain.com
    email.PORT=25
    email.EMAIL_CC=
    email.EMAIL_BCC=
    ##
    ##
    email.PROTOCOL=smtp
    email.DEBUG_MAIL_SESSION=true
    email.BUFFER_SIZE=2048
    email.EMAIL_SUBJECT =Meeting.
    email.EMAIL_FROM_PERSON=dimdim@mydomain.com
    email.EMAIL_FROM=dimdim@mydomain.com
    email.EMAIL_REPLY_TO=dimdim@mydomain.com
    email.EMAIL_TO=dimdim@mydomain.com
    email.EMAIL_CHARSET=utf-8
    ##
    ##
    ##  This property refers to type of the SMTP Server
    ##  1 : Non SSL SMTP Server i.e. Dimdim SMTP Server
    ##  2 : SSL SMTP Server  i.e. gmail SMTP Server
    dimdim.smtptype=1
    [....]

    but when I start a noe conference room, I don't get any mail.
    i-m sure it is no problems with our mail gateway.
    In:
    /usr/local/dimdim/ConferenceServer/apache-tomcat-5.5.17/logs/wrapper-20090304.log
    I found this log:

    INFO   | jvm 1    | 2009/03/04 11:02:19 |
    INFO   | jvm 1    | 2009/03/04 11:02:19 | exception while getting default logo so reverting to conf server default
    INFO   | jvm 1    | 2009/03/04 11:02:19 | inside getLogUrl returnValue = images/dimdim-logo.png
    INFO   | jvm 1    | 2009/03/04 11:02:19 | ConferenceManager::conferenceStateChanged: oldState:1: newState:1
    INFO   | jvm 1    | 2009/03/04 11:02:19 |  Calling

    url:http://172.24.4.178:80/cobrowsing/listURLResources?dimdimID=dimdim-v4.5____test2&roomID=test2&bookmarkAction=http://172.24.4.178:80/dimdim/BookmarkCobRes

    ource.action&cflag=1236182539824
    INFO   | jvm 1    | 2009/03/04 11:02:19 | json = {result:"false",method:"listURLResources",dimdimID:"dimdim-v4.5____test2",error:"7404"}
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Adding Session ---- :2f531e7c-9811-4a26-8766-d55b7d42c50a
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Inviting initial list of attendees: stefan.banu@omissis.com
    INFO   | jvm 1    | 2009/03/04 11:02:19 | is dialin Info enabled : true
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Reading str: --
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Reading tempStr: --
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DILIP !@#$!@ vector = []
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Reading str: -stefan.banu@omissis.com-
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Reading tempStr: -stefan.banu@omissis.com-
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DILIP !@#$!@ vector = [stefan.banu@omissis.com]
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Email Invitation: From Template
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: JavaMail version 1.3.3
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: java.io.FileNotFoundException: /usr/java/jre1.6.0_07/lib/javamail.providers (No such file or directory)
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: !anyLoaded
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: not loading resource: /META-INF/javamail.providers
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: Tables of loaded providers
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: Providers Listed By Class Name:

    {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],

    com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc],

    com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc],

    com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc],

    com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],

    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun

    Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],

    smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],

    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc],

    pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc],

    smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: !anyLoaded
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: not loading resource: /META-INF/javamail.address.map
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: java.io.FileNotFoundException: /usr/java/jre1.6.0_07/lib/javamail.address.map (No such file or directory)
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: setDebug: JavaMail version 1.3.3
    INFO   | jvm 1    | 2009/03/04 11:02:19 | DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems,

    Inc]
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Returning from LoginAndCreateConference action result code:success
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Email dispatch worker 2 - sending out email:Host has invited you to a Dimdim Web Meeting
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Number of recipients:1
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Recipient:stefan.banu@omissis.com
    INFO   | jvm 1    | 2009/03/04 11:02:19 |  inside getBrowserType User agent is ---------mozilla/4.0 (compatible; msie 7.0; windows nt 5.1;

    funwebproducts-myway; .net clr 2.0.50727; .net clr 3.0.04506.648; .net clr 3.5.21022; .net clr 1.1.4322)--------
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Setting up session : -2f531e7c-9811-4a26-8766-d55b7d42c50a
    INFO   | jvm 1    | 2009/03/04 11:02:19 | In GetConsolePageAction : Returning -success
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Check for portal meeting name to be set to title
    INFO   | jvm 1    | 2009/03/04 11:02:19 | TAG Locale Language:en
    INFO   | jvm 1    | 2009/03/04 11:02:19 | TAG Locale Encode:utf-8
    INFO   | jvm 1    | 2009/03/04 11:02:19 | Exception occured while sending...print stack trace and continue with others
    INFO   | jvm 1    | 2009/03/04 11:02:19 | java.lang.NullPointerException
    INFO   | jvm 1    | 2009/03/04 11:02:19 |       at com.dimdim.conference.application.email.Mailer2.sendMessage(Mailer2.java:333)
    INFO   | jvm 1    | 2009/03/04 11:02:19 |       at com.dimdim.conference.application.email.EmailDispatchWorker2.sendEmail(EmailDispatchWorker2.java:222)
    INFO   | jvm 1    | 2009/03/04 11:02:19 |       at com.dimdim.conference.application.email.EmailDispatchWorker2.sendEmail(EmailDispatchWorker2.java:163)
    INFO   | jvm 1    | 2009/03/04 11:02:19 |       at com.dimdim.conference.application.email.EmailDispatchWorker2.run(EmailDispatchWorker2.java:117)

    It seems it try to send the mail to Sun.com smtp.
    What it's wrong?

    thank you.

     
    • Enrique Rodriguez

      change this

      email.EMAIL_TO=dimdim@mydomain.com

      to

      email.EMAIL_TO=

      Think that will do the trick.

       
    • Tzweistein

      Tzweistein - 2009-03-16

      Ok, thanks.
      this solved the issue, I think is some smtp protocol problem and my smtp gateway don't like it.
      Regards.

       
    • bryan rohling

      bryan rohling - 2009-03-25

      I am having the same problem.  I setup a new gmail account and I am still not able to send out invites.  This is what the log shows.

      INFO   | jvm 1    | 2009/03/25 08:53:15 | *******************************
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Attendees:email@email.com
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Presenters:
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Message:Please join my meeting
      INFO   | jvm 1    | 2009/03/25 08:53:15 | *******************************
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Email Invitation: From Template
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Email dispatch worker 2 - sending out email:Host has invited you to a Dimdim Web Meeting
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Number of recipients:1
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Recipient:email@email.com
      INFO   | jvm 1    | 2009/03/25 08:53:15 | Email dispath errot:[COULDNT_CONNECT],javax.mail.MessagingException: Exception reading response;
      INFO   | jvm 1    | 2009/03/25 08:53:15 |   nested exception is:
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?,smtp.gmail.com,null,com.dimdim.conference.application.core.ActiveConference@51064e,com.dimdim.conference.model.Participant@174f02c
      INFO   | jvm 1    | 2009/03/25 08:53:15 | javax.mail.MessagingException: Exception reading response;
      INFO   | jvm 1    | 2009/03/25 08:53:15 |   nested exception is:
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1407)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1205)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:322)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at javax.mail.Service.connect(Service.java:236)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at javax.mail.Service.connect(Service.java:137)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.dimdim.conference.application.email.Mailer2.sendMessage(Mailer2.java:369)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.dimdim.conference.application.email.EmailDispatchWorker2.sendEmail(EmailDispatchWorker2.java:222)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.dimdim.conference.application.email.EmailDispatchWorker2.sendEmail(EmailDispatchWorker2.java:163)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at com.dimdim.conference.application.email.EmailDispatchWorker2.run(EmailDispatchWorker2.java:117)
      INFO   | jvm 1    | 2009/03/25 08:53:15 |     at java.lang.Thread.run(Unknown Source)
      INFO   | jvm 1    | 2009/03/25 08:53:15 | email sent status = false for the recipient email@email.com

       
    • shaneel :)

      shaneel :) - 2009-03-27

      Bryan,

      If you are trying to use gmail smtp.
      Check one parameter under /usr/local/dimdim/ConferenceServer/apache..../webapps/dimdim/WEB-INF/classes/resources/dimdim.properties file.
      it is SMTP settings which needs to be verified, is it set to 2 or its 1 still?

      ##  This property refers to type of the SMTP Server
      ##  1 : Non SSL SMTP Server i.e. Dimdim SMTP Server
      ##  2 : SSL SMTP Server  i.e. gmail SMTP Server
      dimdim.smtptype=1
      ##
      ##

      And if you changed it to 2 you need restart the Conference Server?

      Let me know if it helps.

      -Shaneel

       
    • bryan rohling

      bryan rohling - 2009-03-27

      It is set to 2

      I have tried two different email accounts with no luck.

       

Log in to post a comment.