You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "Leland Corso Sr." <lc...@jbs-systems.net> on 2016/04/22 22:10:33 UTC

Email Issue

Hi,

I'm having an issue sending emails from openmeetings.  I've verified 
that configuration is correct.  And the log file says the email was 
sent.  The issue is that the email never gets delivered to the 
recipient.  I have checked the email server and it doesnt show any 
errors but the email from the sending account does not reflect the email 
even exists.
I have configured
  smtp_server = my_mail.server.com
  email port = 465
  Email acct = noreplay@mydomain.com
  SMTP acct = noreplay@mydomain.com
  Password  = mypassword
  enable SMTP = 1

It was working but seems after I changed the default path from 
./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited 
config.xml entries (<webAppRootKey>Linked.Exchange</webAppRootKey> & 
<httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does 
it matter whether frontend registration is available or not?  My 
assumption is that it does not matter.
-- 
*Leland Corso Sr.
*

RE: Email Issue

Posted by Wentao Liu <cs...@aliyun.com>.
Thanks Maxim. My test server is http://www.hunancloud.com:5080
Maybe I did wrong configuration?

Sent from Mail for Windows 10


From: Maxim Solodovnik
Sent: 2016年4月24日 11:57
To: Openmeetings user-list; ALIYUN TEAM
Subject: Re: Email Issue

Hello Wentao,

I'll try to check this

On Sat, Apr 23, 2016 at 8:43 PM, ALIYUN TEAM <cs...@aliyun.com> wrote:
        Dear openmeeting users and Maxim,
        
        When I tested the email sending function in OM 3.1.1, I also found an issue here. 
        A new user registered in front page can receive a system email after changing key 26 "sendEmailAtRegister" value from 0 to 1 on configuration page.
        But even I set the key 27 "sendEmailWithVerficationCode" value to 1, the email is received without activiation link which means a user can immediately login without activating his account.
        This issue was not existed in OM 3.0.7. 
        Can anybody help to confirm?
     
        Thanks, 
        Wentao
 ------------------------------------------------------------------
发件人:Maxim Solodovnik <so...@gmail.com>
发送时间:2016年4月23日(星期六) 14:41
收件人:Openmeetings user-list <us...@openmeetings.apache.org>
主 题:Re: Email Issue

It is definitely doesn't matter
I would check server logs and server folders for incoming outgoing emails
Additional place to check: DB table email_queue

On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <lc...@jbs-systems.net> wrote:
Hi,

I'm having an issue sending emails from openmeetings.  I've verified that configuration is correct.  And the log file says the email was sent.  The issue is that the email never gets delivered to the recipient.  I have checked the email server and it doesnt show any errors but the email from the sending account does not reflect the email even exists.
I have configured
 smtp_server = my_mail.server.com
 email port = 465
 Email acct = noreplay@mydomain.com
 SMTP acct = noreplay@mydomain.com
 Password  = mypassword
 enable SMTP = 1

It was working but seems after I changed the default path from ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml entries (<webAppRootKey>Linked.Exchange</webAppRootKey> & <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it matter whether frontend registration is available or not?  My assumption is that it does not matter.
-- 
Leland Corso Sr.




-- 
WBR
Maxim aka solomax





-- 
WBR
Maxim aka solomax


Re: Email Issue

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Wentao,

I'll try to check this

On Sat, Apr 23, 2016 at 8:43 PM, ALIYUN TEAM <cs...@aliyun.com> wrote:

>         Dear openmeeting users and Maxim,
>
>         When I tested the email sending function in OM 3.1.1, I also found
> an issue here.
>         A new user registered in front page can receive a system email
> after changing key 26 "sendEmailAtRegister" value from 0 to 1 on
> configuration page.
>         But even I set the key 27 "sendEmailWithVerficationCode" value to
> 1, the email is received without activiation link which means a user can
> immediately login without activating his account.
>         This issue was not existed in OM 3.0.7.
>         Can anybody help to confirm?
>
>         Thanks,
>         Wentao
>
>  ------------------------------------------------------------------
> 发件人:Maxim Solodovnik <so...@gmail.com>
> 发送时间:2016年4月23日(星期六) 14:41
> 收件人:Openmeetings user-list <us...@openmeetings.apache.org>
> 主 题:Re: Email Issue
>
> It is definitely doesn't matter
> I would check server logs and server folders for incoming outgoing emails
> Additional place to check: DB table email_queue
>
> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <lc...@jbs-systems.net>
> wrote:
> Hi,
>
> I'm having an issue sending emails from openmeetings.  I've verified that
> configuration is correct.  And the log file says the email was sent.  The
> issue is that the email never gets delivered to the recipient.  I have
> checked the email server and it doesnt show any errors but the email from
> the sending account does not reflect the email even exists.
> I have configured
>  smtp_server = my_mail.server.com
>  email port = 465
>  Email acct = noreplay@mydomain.com
>  SMTP acct = noreplay@mydomain.com
>  Password  = mypassword
>  enable SMTP = 1
>
> It was working but seems after I changed the default path from
> ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml
> entries (<webAppRootKey>Linked.Exchange</webAppRootKey> &
> <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it
> matter whether frontend registration is available or not?  My assumption is
> that it does not matter.
> --
>
> *Leland Corso Sr. *
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>


-- 
WBR
Maxim aka solomax

回复:Email Issue

Posted by ALIYUN TEAM <cs...@aliyun.com>.
        Dear openmeeting users and Maxim,                When I tested the email sending function in OM 3.1.1, I also found an issue here.         A new user registered in front page can receive a system email after changing key 26 "sendEmailAtRegister" value from 0 to 1 on configuration page.
        But even I set the key 27 "sendEmailWithVerficationCode" value to 1, the email is received without activiation link which means a user can immediately login without activating his account.        This issue was not existed in OM 3.0.7.         Can anybody help to confirm?             Thanks,         Wentao

Re: Email Issue

Posted by Maxim Solodovnik <so...@gmail.com>.
were you able to find out what is wrong?

On Tue, Apr 26, 2016 at 11:10 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> We are using javax-mail for mail sending, which is standard way in Java.
> Error level might be insufficient
> Please try to change log level for javax.mail
>
> Open conf/logback.xml
> Add logger for javax.mail with level DEBUG
> Check logs
>
> WBR, Maxim
> (from mobile, sorry for the typos)
> On Apr 26, 2016 09:52, "Leland Corso Sr." <lc...@jbs-systems.net> wrote:
>
>> Maxim,
>>
>> How can I trouble shoot this issue.  The error doesn't provide enough
>> information for adequately troubleshoot this issue.
>>
>> On 04/23/2016 10:53 PM, Maxim Solodovnik wrote:
>>
>> Actually there was timeout while waiting for the server response on mail
>> sending
>> "javax.mail.MessagingException: Exception reading response"
>> "Caused by: java.net.SocketTimeoutException: Read timed out"
>>
>> Looks like network issue, of maybe ports are closed?
>>
>> On Sun, Apr 24, 2016 at 1:02 AM, Leland Corso Sr. <lcorso@jbs-systems.net
>> > wrote:
>>
>>> This is an exert from my log file DEBUG 04-23 14:52:11.280
>>> o.a.o.c.m.MailHandler:274
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>>> Number of emails in init queue 1
>>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233 [taskExecutor-1] -
>>> Message sending in progress
>>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234 [taskExecutor-1] -
>>> To: lcorso@linked.exchange
>>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235 [taskExecutor-1] -
>>> Subject: Join My Conference
>>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197 [taskExecutor-1] -
>>> getMimeMessage
>>> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160 [taskExecutor-1] -
>>> getBasicMimeMessage
>>> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203 [taskExecutor-1] -
>>> setReplyTo leland.corso@linkedagency.com
>>> DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>>> ... sendMails done.
>>> DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>>> sendMails enter ...
>>> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>>> Number of emails in init queue 0
>>> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>>> ... sendMails done.
>>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680
>>> [RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast close: 1
>>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715
>>> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
>>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716
>>> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications : Client
>>> [streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149,
>>> isScreenClient=false, isMobile = false, roomId=7, broadCastID=1, userId=1,
>>> avsettings=av, isRecording=false, recordingId=null,
>>> recordingMetaDataId=null, screenPublishStarted=false, interviewPodId=-1,
>>> server=null] 1
>>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476
>>> [RTMPConnectionExecutor-2] - logicalRoomLeave
>>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481
>>> [RTMPConnectionExecutor-2] - 1 is leaving
>>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503
>>> [RTMPConnectionExecutor-2] - currentClient Client [streamid=1,
>>> publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false, isMobile
>>> = false, roomId=7, broadCastID=1, userId=1, avsettings=av,
>>> isRecording=false, recordingId=null, recordingMetaDataId=null,
>>> screenPublishStarted=false, interviewPodId=-1, server=null]
>>> DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52
>>> [RTMPConnectionExecutor-2] - [addConferenceLog]:
>>> org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
>>> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428
>>> [RTMPConnectionExecutor-2] - removeUserFromAllLists
>>> this.whiteBoardObjectListManager:
>>> org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
>>> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429
>>> [RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
>>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443
>>> [RTMPConnectionExecutor-2] - scope Scope [name=7,
>>> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>>> creationTime=1461437455209, depth=2, enabled=true, running=true]
>>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516
>>> [RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23 14:50:55
>>> EDT 2016 streamid: 1
>>> TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>>> [Thread-19] - [MessageSender] -> 'sending message' sendSyncCompleteFlag,
>>> null
>>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537
>>> [RTMPConnectionExecutor-2] - currentScope Scope [name=7,
>>> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>>> creationTime=1461437455209, depth=2, enabled=true, running=true]
>>> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>>> [Thread-19] - [MessageSender] -> 'sending message to 0 clients, DONE'
>>> sendSyncCompleteFlag
>>> DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543
>>> [RTMPConnectionExecutor-2] - sending roomDisconnect to RTMPMinaConnection
>>> from 68.63.57.74 (in: 6817 out: 74510) session: DTJLAYKPHONW5 state:
>>> connected  client id 1
>>> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>>> [Thread-20] - [MessageSender] -> 'sending message'
>>> sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
>>> TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>>> [Thread-20] - [MessageSender] -> 'sending message to 1 clients, DONE'
>>> sendImagesSyncCompleteFlag
>>> DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451
>>> [NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
>>> DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121 [NioProcessor-3] -
>>> Tried to get a non existing Client 1 server null
>>> DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82
>>> [http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
>>> DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
>>> MeetingReminderJob.execute
>>> DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
>>> MeetingReminderJob.execute
>>> ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243 [taskExecutor-1] -
>>> Error while sending message
>>> javax.mail.MessagingException: Exception reading response
>>>     at
>>> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at
>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at
>>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at javax.mail.Service.connect(Service.java:388)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at javax.mail.Service.connect(Service.java:246)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at javax.mail.Service.connect(Service.java:195)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at javax.mail.Transport.send0(Transport.java:254)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at javax.mail.Transport.send(Transport.java:124)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at
>>> org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239)
>>> ~[openmeetings-core-3.1.1.jar:3.1.1]
>>>     at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [na:1.8.0_77]
>>>     at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [na:1.8.0_77]
>>>     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
>>> Caused by: java.net.SocketTimeoutException: Read timed out
>>>     at java.net.SocketInputStream.socketRead0(Native Method)
>>> ~[na:1.8.0_77]
>>>     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>>> ~[na:1.8.0_77]
>>>     at java.net.SocketInputStream.read(SocketInputStream.java:170)
>>> ~[na:1.8.0_77]
>>>     at java.net.SocketInputStream.read(SocketInputStream.java:141)
>>> ~[na:1.8.0_77]
>>>     at
>>> com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>>> ~[na:1.8.0_77]
>>>     at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
>>> ~[na:1.8.0_77]
>>>     at
>>> com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     at
>>> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331)
>>> ~[javax.mail-1.5.5.jar:1.5.5]
>>>     ... 11 common frames omitted
>>>
>>>
>>>
>>> On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
>>>
>>> When you say check the bd table email_queue are you speaking on the
>>> openmeeting machine or theemail server.  If you mean the email server I've
>>> looked there and it the mails aren't reaching it to send out yet I can
>>> connect via telnet so I know the connection is available.
>>>
>>> On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>>>
>>> It is definitely doesn't matter
>>> I would check server logs and server folders for incoming outgoing emails
>>> Additional place to check: DB table email_queue
>>>
>>> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <
>>> <lc...@jbs-systems.net> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm having an issue sending emails from openmeetings.  I've verified
>>>> that configuration is correct.  And the log file says the email was sent.
>>>> The issue is that the email never gets delivered to the recipient.  I have
>>>> checked the email server and it doesnt show any errors but the email from
>>>> the sending account does not reflect the email even exists.
>>>> I have configured
>>>>  smtp_server = my_mail.server.com
>>>>  email port = 465
>>>>  Email acct = noreplay@mydomain.com
>>>>  SMTP acct = noreplay@mydomain.com
>>>>  Password  = mypassword
>>>>  enable SMTP = 1
>>>>
>>>> It was working but seems after I changed the default path from
>>>> ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml
>>>> entries (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>>>> <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it
>>>> matter whether frontend registration is available or not?  My assumption is
>>>> that it does not matter.
>>>> --
>>>>
>>>> *Leland Corso Sr. *
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>


-- 
WBR
Maxim aka solomax

Re: Email Issue

Posted by Maxim Solodovnik <so...@gmail.com>.
We are using javax-mail for mail sending, which is standard way in Java.
Error level might be insufficient
Please try to change log level for javax.mail

Open conf/logback.xml
Add logger for javax.mail with level DEBUG
Check logs

WBR, Maxim
(from mobile, sorry for the typos)
On Apr 26, 2016 09:52, "Leland Corso Sr." <lc...@jbs-systems.net> wrote:

> Maxim,
>
> How can I trouble shoot this issue.  The error doesn't provide enough
> information for adequately troubleshoot this issue.
>
> On 04/23/2016 10:53 PM, Maxim Solodovnik wrote:
>
> Actually there was timeout while waiting for the server response on mail
> sending
> "javax.mail.MessagingException: Exception reading response"
> "Caused by: java.net.SocketTimeoutException: Read timed out"
>
> Looks like network issue, of maybe ports are closed?
>
> On Sun, Apr 24, 2016 at 1:02 AM, Leland Corso Sr. <lc...@jbs-systems.net>
> wrote:
>
>> This is an exert from my log file DEBUG 04-23 14:52:11.280
>> o.a.o.c.m.MailHandler:274
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>> Number of emails in init queue 1
>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233 [taskExecutor-1] -
>> Message sending in progress
>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234 [taskExecutor-1] -
>> To: lcorso@linked.exchange
>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235 [taskExecutor-1] -
>> Subject: Join My Conference
>> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197 [taskExecutor-1] -
>> getMimeMessage
>> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160 [taskExecutor-1] -
>> getBasicMimeMessage
>> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203 [taskExecutor-1] -
>> setReplyTo leland.corso@linkedagency.com
>> DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>> ... sendMails done.
>> DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>> sendMails enter ...
>> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>> Number of emails in init queue 0
>> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
>> ... sendMails done.
>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680
>> [RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast close: 1
>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715
>> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
>> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716
>> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications : Client
>> [streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149,
>> isScreenClient=false, isMobile = false, roomId=7, broadCastID=1, userId=1,
>> avsettings=av, isRecording=false, recordingId=null,
>> recordingMetaDataId=null, screenPublishStarted=false, interviewPodId=-1,
>> server=null] 1
>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476
>> [RTMPConnectionExecutor-2] - logicalRoomLeave
>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481
>> [RTMPConnectionExecutor-2] - 1 is leaving
>> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503
>> [RTMPConnectionExecutor-2] - currentClient Client [streamid=1,
>> publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false, isMobile
>> = false, roomId=7, broadCastID=1, userId=1, avsettings=av,
>> isRecording=false, recordingId=null, recordingMetaDataId=null,
>> screenPublishStarted=false, interviewPodId=-1, server=null]
>> DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52
>> [RTMPConnectionExecutor-2] - [addConferenceLog]:
>> org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
>> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428
>> [RTMPConnectionExecutor-2] - removeUserFromAllLists
>> this.whiteBoardObjectListManager:
>> org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
>> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429
>> [RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443
>> [RTMPConnectionExecutor-2] - scope Scope [name=7,
>> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>> creationTime=1461437455209, depth=2, enabled=true, running=true]
>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516
>> [RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23 14:50:55
>> EDT 2016 streamid: 1
>> TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>> [Thread-19] - [MessageSender] -> 'sending message' sendSyncCompleteFlag,
>> null
>> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537
>> [RTMPConnectionExecutor-2] - currentScope Scope [name=7,
>> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>> creationTime=1461437455209, depth=2, enabled=true, running=true]
>> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>> [Thread-19] - [MessageSender] -> 'sending message to 0 clients, DONE'
>> sendSyncCompleteFlag
>> DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543
>> [RTMPConnectionExecutor-2] - sending roomDisconnect to RTMPMinaConnection
>> from 68.63.57.74 (in: 6817 out: 74510) session: DTJLAYKPHONW5 state:
>> connected  client id 1
>> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>> [Thread-20] - [MessageSender] -> 'sending message'
>> sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
>> TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>> [Thread-20] - [MessageSender] -> 'sending message to 1 clients, DONE'
>> sendImagesSyncCompleteFlag
>> DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451
>> [NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
>> DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121 [NioProcessor-3] -
>> Tried to get a non existing Client 1 server null
>> DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82
>> [http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
>> DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
>> MeetingReminderJob.execute
>> DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
>> MeetingReminderJob.execute
>> ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243 [taskExecutor-1] -
>> Error while sending message
>> javax.mail.MessagingException: Exception reading response
>>     at
>> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at
>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at javax.mail.Service.connect(Service.java:388)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at javax.mail.Service.connect(Service.java:246)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at javax.mail.Service.connect(Service.java:195)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at javax.mail.Transport.send0(Transport.java:254)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at javax.mail.Transport.send(Transport.java:124)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at
>> org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239)
>> ~[openmeetings-core-3.1.1.jar:3.1.1]
>>     at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> [na:1.8.0_77]
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> [na:1.8.0_77]
>>     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
>> Caused by: java.net.SocketTimeoutException: Read timed out
>>     at java.net.SocketInputStream.socketRead0(Native Method)
>> ~[na:1.8.0_77]
>>     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>> ~[na:1.8.0_77]
>>     at java.net.SocketInputStream.read(SocketInputStream.java:170)
>> ~[na:1.8.0_77]
>>     at java.net.SocketInputStream.read(SocketInputStream.java:141)
>> ~[na:1.8.0_77]
>>     at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>> ~[na:1.8.0_77]
>>     at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
>> ~[na:1.8.0_77]
>>     at
>> com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     at
>> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331)
>> ~[javax.mail-1.5.5.jar:1.5.5]
>>     ... 11 common frames omitted
>>
>>
>>
>> On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
>>
>> When you say check the bd table email_queue are you speaking on the
>> openmeeting machine or theemail server.  If you mean the email server I've
>> looked there and it the mails aren't reaching it to send out yet I can
>> connect via telnet so I know the connection is available.
>>
>> On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>>
>> It is definitely doesn't matter
>> I would check server logs and server folders for incoming outgoing emails
>> Additional place to check: DB table email_queue
>>
>> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <lcorso@jbs-systems.net
>> > wrote:
>>
>>> Hi,
>>>
>>> I'm having an issue sending emails from openmeetings.  I've verified
>>> that configuration is correct.  And the log file says the email was sent.
>>> The issue is that the email never gets delivered to the recipient.  I have
>>> checked the email server and it doesnt show any errors but the email from
>>> the sending account does not reflect the email even exists.
>>> I have configured
>>>  smtp_server = my_mail.server.com
>>>  email port = 465
>>>  Email acct = noreplay@mydomain.com
>>>  SMTP acct = noreplay@mydomain.com
>>>  Password  = mypassword
>>>  enable SMTP = 1
>>>
>>> It was working but seems after I changed the default path from
>>> ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml
>>> entries (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>>> <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it
>>> matter whether frontend registration is available or not?  My assumption is
>>> that it does not matter.
>>> --
>>>
>>> *Leland Corso Sr. *
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>

Re: Email Issue

Posted by "Leland Corso Sr." <lc...@jbs-systems.net>.
Maxim,

How can I trouble shoot this issue.  The error doesn't provide enough 
information for adequately troubleshoot this issue.

On 04/23/2016 10:53 PM, Maxim Solodovnik wrote:
> Actually there was timeout while waiting for the server response on 
> mail sending
> "javax.mail.MessagingException: Exception reading response"
> "Caused by: java.net <http://java.net>.SocketTimeoutException: Read 
> timed out"
>
> Looks like network issue, of maybe ports are closed?
>
> On Sun, Apr 24, 2016 at 1:02 AM, Leland Corso Sr. 
> <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>
>     This is an exert from my log file DEBUG 04-23 14:52:11.280
>     o.a.o.c.m.MailHandler:274
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - Number of emails in init queue 1
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233
>     [taskExecutor-1] - Message sending in progress
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234
>     [taskExecutor-1] -   To: lcorso@linked.exchange
>     <ma...@linked.exchange>
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235
>     [taskExecutor-1] -   Subject: Join My Conference
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197
>     [taskExecutor-1] - getMimeMessage
>     DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160
>     [taskExecutor-1] - getBasicMimeMessage
>     DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203
>     [taskExecutor-1] - setReplyTo leland.corso@linkedagency.com
>     <ma...@linkedagency.com>
>     DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - ... sendMails done.
>     DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - sendMails enter ...
>     DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - Number of emails in init queue 0
>     DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - ... sendMails done.
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680
>     [RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast
>     close: 1
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715
>     [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716
>     [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications :
>     Client [streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149,
>     isScreenClient=false, isMobile = false, roomId=7, broadCastID=1,
>     userId=1, avsettings=av, isRecording=false, recordingId=null,
>     recordingMetaDataId=null, screenPublishStarted=false,
>     interviewPodId=-1, server=null] 1
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476
>     [RTMPConnectionExecutor-2] - logicalRoomLeave
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481
>     [RTMPConnectionExecutor-2] - 1 is leaving
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503
>     [RTMPConnectionExecutor-2] - currentClient Client [streamid=1,
>     publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false,
>     isMobile = false, roomId=7, broadCastID=1, userId=1,
>     avsettings=av, isRecording=false, recordingId=null,
>     recordingMetaDataId=null, screenPublishStarted=false,
>     interviewPodId=-1, server=null]
>     DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52
>     [RTMPConnectionExecutor-2] - [addConferenceLog]:
>     org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
>     DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428
>     [RTMPConnectionExecutor-2] - removeUserFromAllLists
>     this.whiteBoardObjectListManager:
>     org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
>     DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429
>     [RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443
>     [RTMPConnectionExecutor-2] - scope Scope [name=7,
>     path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>     creationTime=1461437455209, depth=2, enabled=true, running=true]
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516
>     [RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23
>     14:50:55 EDT 2016 streamid: 1
>     TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>     [Thread-19] - [MessageSender] -> 'sending message'
>     sendSyncCompleteFlag, null
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537
>     [RTMPConnectionExecutor-2] - currentScope Scope [name=7,
>     path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>     creationTime=1461437455209, depth=2, enabled=true, running=true]
>     TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>     [Thread-19] - [MessageSender] -> 'sending message to 0 clients,
>     DONE' sendSyncCompleteFlag
>     DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543
>     [RTMPConnectionExecutor-2] - sending roomDisconnect to
>     RTMPMinaConnection from 68.63.57.74 (in: 6817 out: 74510) session:
>     DTJLAYKPHONW5 state: connected  client id 1
>     TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>     [Thread-20] - [MessageSender] -> 'sending message'
>     sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
>     TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>     [Thread-20] - [MessageSender] -> 'sending message to 1 clients,
>     DONE' sendImagesSyncCompleteFlag
>     DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451
>     [NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
>     DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121
>     [NioProcessor-3] - Tried to get a non existing Client 1 server null
>     DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82
>     [http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
>     DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4]
>     - MeetingReminderJob.execute
>     DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4]
>     - MeetingReminderJob.execute
>     ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243
>     [taskExecutor-1] - Error while sending message
>     javax.mail.MessagingException: Exception reading response
>         at
>     com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078) ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:388)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:246)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:195)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Transport.send0(Transport.java:254)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Transport.send(Transport.java:124)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239)
>     ~[openmeetings-core-3.1.1.jar:3.1.1]
>         at
>     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     [na:1.8.0_77]
>         at
>     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     [na:1.8.0_77]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
>     Caused by: java.net.SocketTimeoutException: Read timed out
>         at java.net.SocketInputStream.socketRead0(Native Method)
>     ~[na:1.8.0_77]
>         at
>     java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>     ~[na:1.8.0_77]
>         at java.net.SocketInputStream.read(SocketInputStream.java:170)
>     ~[na:1.8.0_77]
>         at java.net.SocketInputStream.read(SocketInputStream.java:141)
>     ~[na:1.8.0_77]
>         at
>     com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>     ~[na:1.8.0_77]
>         at
>     java.io.BufferedInputStream.read(BufferedInputStream.java:265)
>     ~[na:1.8.0_77]
>         at
>     com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92) ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         ... 11 common frames omitted
>
>
>
>     On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
>>     When you say check the bd table email_queue are you speaking on
>>     the openmeeting machine or theemail server.  If you mean the
>>     email server I've looked there and it the mails aren't reaching
>>     it to send out yet I can connect via telnet so I know the
>>     connection is available.
>>
>>     On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>>>     It is definitely doesn't matter
>>>     I would check server logs and server folders for incoming
>>>     outgoing emails
>>>     Additional place to check: DB table email_queue
>>>
>>>     On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr.
>>>     <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>>>
>>>         Hi,
>>>
>>>         I'm having an issue sending emails from openmeetings.  I've
>>>         verified that configuration is correct.  And the log file
>>>         says the email was sent.  The issue is that the email never
>>>         gets delivered to the recipient.  I have checked the email
>>>         server and it doesnt show any errors but the email from the
>>>         sending account does not reflect the email even exists.
>>>         I have configured
>>>          smtp_server = my_mail.server.com <http://my_mail.server.com>
>>>          email port = 465
>>>          Email acct = noreplay@mydomain.com
>>>         <ma...@mydomain.com>
>>>          SMTP acct = noreplay@mydomain.com
>>>         <ma...@mydomain.com>
>>>          Password  = mypassword
>>>          enable SMTP = 1
>>>
>>>         It was working but seems after I changed the default path
>>>         from ./webapps/openmeetings/ to ./webapps/Linked.Exchange/
>>>         and edited config.xml entries
>>>         (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>>>         <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped
>>>         working.  Does it matter whether frontend registration is
>>>         available or not?  My assumption is that it does not matter.
>>>         -- 
>>>         *Leland Corso Sr.
>>>         *
>>>
>>>
>>>
>>>
>>>     -- 
>>>     WBR
>>>     Maxim aka solomax
>>
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Email Issue

Posted by "Leland Corso Sr." <lc...@jbs-systems.net>.
This worked with the default values.  All I've done is updated the 
apps_path.  I know it's timing out but I don't see what your application 
is doing and where it's failing.  I don't know if it's establish the 
connection and it's being terminated on the mail server or if you're not 
connecting at all.

On 04/23/2016 10:53 PM, Maxim Solodovnik wrote:
> Actually there was timeout while waiting for the server response on 
> mail sending
> "javax.mail.MessagingException: Exception reading response"
> "Caused by: java.net <http://java.net>.SocketTimeoutException: Read 
> timed out"
>
> Looks like network issue, of maybe ports are closed?
>
> On Sun, Apr 24, 2016 at 1:02 AM, Leland Corso Sr. 
> <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>
>     This is an exert from my log file DEBUG 04-23 14:52:11.280
>     o.a.o.c.m.MailHandler:274
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - Number of emails in init queue 1
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233
>     [taskExecutor-1] - Message sending in progress
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234
>     [taskExecutor-1] -   To: lcorso@linked.exchange
>     <ma...@linked.exchange>
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235
>     [taskExecutor-1] -   Subject: Join My Conference
>     DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197
>     [taskExecutor-1] - getMimeMessage
>     DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160
>     [taskExecutor-1] - getBasicMimeMessage
>     DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203
>     [taskExecutor-1] - setReplyTo leland.corso@linkedagency.com
>     <ma...@linkedagency.com>
>     DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - ... sendMails done.
>     DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - sendMails enter ...
>     DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - Number of emails in init queue 0
>     DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3]
>     - ... sendMails done.
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680
>     [RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast
>     close: 1
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715
>     [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
>     DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716
>     [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications :
>     Client [streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149,
>     isScreenClient=false, isMobile = false, roomId=7, broadCastID=1,
>     userId=1, avsettings=av, isRecording=false, recordingId=null,
>     recordingMetaDataId=null, screenPublishStarted=false,
>     interviewPodId=-1, server=null] 1
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476
>     [RTMPConnectionExecutor-2] - logicalRoomLeave
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481
>     [RTMPConnectionExecutor-2] - 1 is leaving
>     DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503
>     [RTMPConnectionExecutor-2] - currentClient Client [streamid=1,
>     publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false,
>     isMobile = false, roomId=7, broadCastID=1, userId=1,
>     avsettings=av, isRecording=false, recordingId=null,
>     recordingMetaDataId=null, screenPublishStarted=false,
>     interviewPodId=-1, server=null]
>     DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52
>     [RTMPConnectionExecutor-2] - [addConferenceLog]:
>     org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
>     DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428
>     [RTMPConnectionExecutor-2] - removeUserFromAllLists
>     this.whiteBoardObjectListManager:
>     org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
>     DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429
>     [RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443
>     [RTMPConnectionExecutor-2] - scope Scope [name=7,
>     path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>     creationTime=1461437455209, depth=2, enabled=true, running=true]
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516
>     [RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23
>     14:50:55 EDT 2016 streamid: 1
>     TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>     [Thread-19] - [MessageSender] -> 'sending message'
>     sendSyncCompleteFlag, null
>     DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537
>     [RTMPConnectionExecutor-2] - currentScope Scope [name=7,
>     path=/default/Linked.Exchange, type=ROOM, autoStart=true,
>     creationTime=1461437455209, depth=2, enabled=true, running=true]
>     TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>     [Thread-19] - [MessageSender] -> 'sending message to 0 clients,
>     DONE' sendSyncCompleteFlag
>     DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543
>     [RTMPConnectionExecutor-2] - sending roomDisconnect to
>     RTMPMinaConnection from 68.63.57.74 (in: 6817 out: 74510) session:
>     DTJLAYKPHONW5 state: connected  client id 1
>     TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727
>     [Thread-20] - [MessageSender] -> 'sending message'
>     sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
>     TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741
>     [Thread-20] - [MessageSender] -> 'sending message to 1 clients,
>     DONE' sendImagesSyncCompleteFlag
>     DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451
>     [NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
>     DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121
>     [NioProcessor-3] - Tried to get a non existing Client 1 server null
>     DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82
>     [http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
>     DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4]
>     - MeetingReminderJob.execute
>     DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35
>     [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4]
>     - MeetingReminderJob.execute
>     ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243
>     [taskExecutor-1] - Error while sending message
>     javax.mail.MessagingException: Exception reading response
>         at
>     com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078) ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:388)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:246)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Service.connect(Service.java:195)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Transport.send0(Transport.java:254)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at javax.mail.Transport.send(Transport.java:124)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239)
>     ~[openmeetings-core-3.1.1.jar:3.1.1]
>         at
>     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     [na:1.8.0_77]
>         at
>     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     [na:1.8.0_77]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
>     Caused by: java.net.SocketTimeoutException: Read timed out
>         at java.net.SocketInputStream.socketRead0(Native Method)
>     ~[na:1.8.0_77]
>         at
>     java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>     ~[na:1.8.0_77]
>         at java.net.SocketInputStream.read(SocketInputStream.java:170)
>     ~[na:1.8.0_77]
>         at java.net.SocketInputStream.read(SocketInputStream.java:141)
>     ~[na:1.8.0_77]
>         at
>     com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>     ~[na:1.8.0_77]
>         at
>     java.io.BufferedInputStream.read(BufferedInputStream.java:265)
>     ~[na:1.8.0_77]
>         at
>     com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92) ~[javax.mail-1.5.5.jar:1.5.5]
>         at
>     com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331)
>     ~[javax.mail-1.5.5.jar:1.5.5]
>         ... 11 common frames omitted
>
>
>
>     On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
>>     When you say check the bd table email_queue are you speaking on
>>     the openmeeting machine or theemail server.  If you mean the
>>     email server I've looked there and it the mails aren't reaching
>>     it to send out yet I can connect via telnet so I know the
>>     connection is available.
>>
>>     On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>>>     It is definitely doesn't matter
>>>     I would check server logs and server folders for incoming
>>>     outgoing emails
>>>     Additional place to check: DB table email_queue
>>>
>>>     On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr.
>>>     <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>>>
>>>         Hi,
>>>
>>>         I'm having an issue sending emails from openmeetings.  I've
>>>         verified that configuration is correct.  And the log file
>>>         says the email was sent.  The issue is that the email never
>>>         gets delivered to the recipient.  I have checked the email
>>>         server and it doesnt show any errors but the email from the
>>>         sending account does not reflect the email even exists.
>>>         I have configured
>>>          smtp_server = my_mail.server.com <http://my_mail.server.com>
>>>          email port = 465
>>>          Email acct = noreplay@mydomain.com
>>>         <ma...@mydomain.com>
>>>          SMTP acct = noreplay@mydomain.com
>>>         <ma...@mydomain.com>
>>>          Password  = mypassword
>>>          enable SMTP = 1
>>>
>>>         It was working but seems after I changed the default path
>>>         from ./webapps/openmeetings/ to ./webapps/Linked.Exchange/
>>>         and edited config.xml entries
>>>         (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>>>         <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped
>>>         working.  Does it matter whether frontend registration is
>>>         available or not?  My assumption is that it does not matter.
>>>         -- 
>>>         *Leland Corso Sr.
>>>         *
>>>
>>>
>>>
>>>
>>>     -- 
>>>     WBR
>>>     Maxim aka solomax
>>
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Email Issue

Posted by Maxim Solodovnik <so...@gmail.com>.
Actually there was timeout while waiting for the server response on mail
sending
"javax.mail.MessagingException: Exception reading response"
"Caused by: java.net.SocketTimeoutException: Read timed out"

Looks like network issue, of maybe ports are closed?

On Sun, Apr 24, 2016 at 1:02 AM, Leland Corso Sr. <lc...@jbs-systems.net>
wrote:

> This is an exert from my log file DEBUG 04-23 14:52:11.280
> o.a.o.c.m.MailHandler:274
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> Number of emails in init queue 1
> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233 [taskExecutor-1] -
> Message sending in progress
> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234 [taskExecutor-1] -
> To: lcorso@linked.exchange
> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235 [taskExecutor-1] -
> Subject: Join My Conference
> DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197 [taskExecutor-1] -
> getMimeMessage
> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160 [taskExecutor-1] -
> getBasicMimeMessage
> DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203 [taskExecutor-1] -
> setReplyTo leland.corso@linkedagency.com
> DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> ... sendMails done.
> DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> sendMails enter ...
> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> Number of emails in init queue 0
> DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> ... sendMails done.
> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680
> [RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast close: 1
> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715
> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
> DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716
> [RTMPConnectionExecutor-1] - sendClientBroadcastNotifications : Client
> [streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149,
> isScreenClient=false, isMobile = false, roomId=7, broadCastID=1, userId=1,
> avsettings=av, isRecording=false, recordingId=null,
> recordingMetaDataId=null, screenPublishStarted=false, interviewPodId=-1,
> server=null] 1
> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476
> [RTMPConnectionExecutor-2] - logicalRoomLeave
> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481
> [RTMPConnectionExecutor-2] - 1 is leaving
> DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503
> [RTMPConnectionExecutor-2] - currentClient Client [streamid=1,
> publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false, isMobile
> = false, roomId=7, broadCastID=1, userId=1, avsettings=av,
> isRecording=false, recordingId=null, recordingMetaDataId=null,
> screenPublishStarted=false, interviewPodId=-1, server=null]
> DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52
> [RTMPConnectionExecutor-2] - [addConferenceLog]:
> org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428
> [RTMPConnectionExecutor-2] - removeUserFromAllLists
> this.whiteBoardObjectListManager:
> org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
> DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429
> [RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
> DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443
> [RTMPConnectionExecutor-2] - scope Scope [name=7,
> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
> creationTime=1461437455209, depth=2, enabled=true, running=true]
> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516
> [RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23 14:50:55
> EDT 2016 streamid: 1
> TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727
> [Thread-19] - [MessageSender] -> 'sending message' sendSyncCompleteFlag,
> null
> DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537
> [RTMPConnectionExecutor-2] - currentScope Scope [name=7,
> path=/default/Linked.Exchange, type=ROOM, autoStart=true,
> creationTime=1461437455209, depth=2, enabled=true, running=true]
> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741
> [Thread-19] - [MessageSender] -> 'sending message to 0 clients, DONE'
> sendSyncCompleteFlag
> DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543
> [RTMPConnectionExecutor-2] - sending roomDisconnect to RTMPMinaConnection
> from 68.63.57.74 (in: 6817 out: 74510) session: DTJLAYKPHONW5 state:
> connected  client id 1
> TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727
> [Thread-20] - [MessageSender] -> 'sending message'
> sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
> TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741
> [Thread-20] - [MessageSender] -> 'sending message to 1 clients, DONE'
> sendImagesSyncCompleteFlag
> DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451
> [NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
> DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121 [NioProcessor-3] -
> Tried to get a non existing Client 1 server null
> DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82
> [http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
> DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
> MeetingReminderJob.execute
> DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] -
> MeetingReminderJob.execute
> ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243 [taskExecutor-1] -
> Error while sending message
> javax.mail.MessagingException: Exception reading response
>     at
> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at javax.mail.Service.connect(Service.java:388)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at javax.mail.Service.connect(Service.java:246)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at javax.mail.Service.connect(Service.java:195)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at javax.mail.Transport.send0(Transport.java:254)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at javax.mail.Transport.send(Transport.java:124)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at
> org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239)
> ~[openmeetings-core-3.1.1.jar:3.1.1]
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_77]
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_77]
>     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
> Caused by: java.net.SocketTimeoutException: Read timed out
>     at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_77]
>     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> ~[na:1.8.0_77]
>     at java.net.SocketInputStream.read(SocketInputStream.java:170)
> ~[na:1.8.0_77]
>     at java.net.SocketInputStream.read(SocketInputStream.java:141)
> ~[na:1.8.0_77]
>     at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> ~[na:1.8.0_77]
>     at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> ~[na:1.8.0_77]
>     at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     at
> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331)
> ~[javax.mail-1.5.5.jar:1.5.5]
>     ... 11 common frames omitted
>
>
>
> On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
>
> When you say check the bd table email_queue are you speaking on the
> openmeeting machine or theemail server.  If you mean the email server I've
> looked there and it the mails aren't reaching it to send out yet I can
> connect via telnet so I know the connection is available.
>
> On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>
> It is definitely doesn't matter
> I would check server logs and server folders for incoming outgoing emails
> Additional place to check: DB table email_queue
>
> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <
> <lc...@jbs-systems.net> wrote:
>
>> Hi,
>>
>> I'm having an issue sending emails from openmeetings.  I've verified that
>> configuration is correct.  And the log file says the email was sent.  The
>> issue is that the email never gets delivered to the recipient.  I have
>> checked the email server and it doesnt show any errors but the email from
>> the sending account does not reflect the email even exists.
>> I have configured
>>  smtp_server = my_mail.server.com
>>  email port = 465
>>  Email acct = noreplay@mydomain.com
>>  SMTP acct = noreplay@mydomain.com
>>  Password  = mypassword
>>  enable SMTP = 1
>>
>> It was working but seems after I changed the default path from
>> ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml
>> entries (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>> <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it
>> matter whether frontend registration is available or not?  My assumption is
>> that it does not matter.
>> --
>>
>> *Leland Corso Sr. *
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>


-- 
WBR
Maxim aka solomax

Re: Email Issue

Posted by "Leland Corso Sr." <lc...@jbs-systems.net>.
This is an exert from my log file DEBUG 04-23 14:52:11.280 
o.a.o.c.m.MailHandler:274 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] 
- Number of emails in init queue 1
DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:233 [taskExecutor-1] - 
Message sending in progress
DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:234 [taskExecutor-1] -   
To: lcorso@linked.exchange
DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:235 [taskExecutor-1] -   
Subject: Join My Conference
DEBUG 04-23 14:52:11.292 o.a.o.c.m.MailHandler:197 [taskExecutor-1] - 
getMimeMessage
DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:160 [taskExecutor-1] - 
getBasicMimeMessage
DEBUG 04-23 14:52:11.293 o.a.o.c.m.MailHandler:203 [taskExecutor-1] - 
setReplyTo leland.corso@linkedagency.com
DEBUG 04-23 14:52:11.295 o.a.o.c.m.MailHandler:279 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] 
- ... sendMails done.
DEBUG 04-23 14:52:15.497 o.a.o.c.m.MailHandler:272 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] 
- sendMails enter ...
DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:274 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] 
- Number of emails in init queue 0
DEBUG 04-23 14:52:15.501 o.a.o.c.m.MailHandler:279 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] 
- ... sendMails done.
DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:680 
[RTMPConnectionExecutor-1] - start streamBroadcastClose broadcast close: 1
DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:715 
[RTMPConnectionExecutor-1] - sendClientBroadcastNotifications: 1
DEBUG 04-23 14:52:23.830 o.a.o.c.r.r.ScopeApplicationAdapter:716 
[RTMPConnectionExecutor-1] - sendClientBroadcastNotifications : Client 
[streamid=1, publicSID=3afcdc385a6b3459c3d06461df20f149, 
isScreenClient=false, isMobile = false, roomId=7, broadCastID=1, 
userId=1, avsettings=av, isRecording=false, recordingId=null, 
recordingMetaDataId=null, screenPublishStarted=false, interviewPodId=-1, 
server=null] 1
DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:476 
[RTMPConnectionExecutor-2] - logicalRoomLeave
DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:481 
[RTMPConnectionExecutor-2] - 1 is leaving
DEBUG 04-23 14:52:23.836 o.a.o.c.r.r.ScopeApplicationAdapter:503 
[RTMPConnectionExecutor-2] - currentClient Client [streamid=1, 
publicSID=3afcdc385a6b3459c3d06461df20f149, isScreenClient=false, 
isMobile = false, roomId=7, broadCastID=1, userId=1, avsettings=av, 
isRecording=false, recordingId=null, recordingMetaDataId=null, 
screenPublishStarted=false, interviewPodId=-1, server=null]
DEBUG 04-23 14:52:23.837 o.a.o.d.d.l.ConferenceLogDao:52 
[RTMPConnectionExecutor-2] - [addConferenceLog]: 
org.apache.openmeetings.db.entity.log.ConferenceLog@377b3802
DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:428 
[RTMPConnectionExecutor-2] - removeUserFromAllLists 
this.whiteBoardObjectListManager: 
org.apache.openmeetings.core.data.whiteboard.WhiteBoardObjectSyncManager@1318a8a2
DEBUG 04-23 14:52:23.849 o.a.o.c.r.WhiteBoardService:429 
[RTMPConnectionExecutor-2] - removeUserFromAllLists roomId: 7
DEBUG 04-23 14:52:23.850 o.a.o.c.r.WhiteBoardService:443 
[RTMPConnectionExecutor-2] - scope Scope [name=7, 
path=/default/Linked.Exchange, type=ROOM, autoStart=true, 
creationTime=1461437455209, depth=2, enabled=true, running=true]
DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:516 
[RTMPConnectionExecutor-2] - removing Username lcorso Sat Apr 23 
14:50:55 EDT 2016 streamid: 1
TRACE 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:1727 
[Thread-19] - [MessageSender] -> 'sending message' sendSyncCompleteFlag, 
null
DEBUG 04-23 14:52:23.850 o.a.o.c.r.r.ScopeApplicationAdapter:537 
[RTMPConnectionExecutor-2] - currentScope Scope [name=7, 
path=/default/Linked.Exchange, type=ROOM, autoStart=true, 
creationTime=1461437455209, depth=2, enabled=true, running=true]
TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1741 
[Thread-19] - [MessageSender] -> 'sending message to 0 clients, DONE' 
sendSyncCompleteFlag
DEBUG 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:543 
[RTMPConnectionExecutor-2] - sending roomDisconnect to 
RTMPMinaConnection from 68.63.57.74 (in: 6817 out: 74510) session: 
DTJLAYKPHONW5 state: connected  client id 1
TRACE 04-23 14:52:23.851 o.a.o.c.r.r.ScopeApplicationAdapter:1727 
[Thread-20] - [MessageSender] -> 'sending message' 
sendImagesSyncCompleteFlag, [Ljava.lang.Object;@53e78ae2
TRACE 04-23 14:52:23.855 o.a.o.c.r.r.ScopeApplicationAdapter:1741 
[Thread-20] - [MessageSender] -> 'sending message to 1 clients, DONE' 
sendImagesSyncCompleteFlag
DEBUG 04-23 14:52:24.035 o.a.o.c.r.r.ScopeApplicationAdapter:451 
[NioProcessor-3] - roomLeave 1 0 /Linked.Exchange/7 7
DEBUG 04-23 14:52:24.036 o.a.o.c.s.SessionManager:121 [NioProcessor-3] - 
Tried to get a non existing Client 1 server null
DEBUG 04-23 14:52:31.724 o.a.o.d.d.s.LdapConfigDao:82 
[http-nio-0.0.0.0-5080-exec-9] - getActiveLdapConfigs
DEBUG 04-23 14:52:36.260 o.a.o.s.q.s.MeetingReminderJob:35 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] 
- MeetingReminderJob.execute
DEBUG 04-23 14:52:40.488 o.a.o.s.q.s.MeetingReminderJob:35 
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-4] 
- MeetingReminderJob.execute
ERROR 04-23 14:52:41.359 o.a.o.c.m.MailHandler:243 [taskExecutor-1] - 
Error while sending message
javax.mail.MessagingException: Exception reading response
     at 
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2351) 
~[javax.mail-1.5.5.jar:1.5.5]
     at 
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2078) 
~[javax.mail-1.5.5.jar:1.5.5]
     at 
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699) 
~[javax.mail-1.5.5.jar:1.5.5]
     at javax.mail.Service.connect(Service.java:388) 
~[javax.mail-1.5.5.jar:1.5.5]
     at javax.mail.Service.connect(Service.java:246) 
~[javax.mail-1.5.5.jar:1.5.5]
     at javax.mail.Service.connect(Service.java:195) 
~[javax.mail-1.5.5.jar:1.5.5]
     at javax.mail.Transport.send0(Transport.java:254) 
~[javax.mail-1.5.5.jar:1.5.5]
     at javax.mail.Transport.send(Transport.java:124) 
~[javax.mail-1.5.5.jar:1.5.5]
     at 
org.apache.openmeetings.core.mail.MailHandler$2.run(MailHandler.java:239) ~[openmeetings-core-3.1.1.jar:3.1.1]
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_77]
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_77]
     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
Caused by: java.net.SocketTimeoutException: Read timed out
     at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_77]
     at 
java.net.SocketInputStream.socketRead(SocketInputStream.java:116) 
~[na:1.8.0_77]
     at java.net.SocketInputStream.read(SocketInputStream.java:170) 
~[na:1.8.0_77]
     at java.net.SocketInputStream.read(SocketInputStream.java:141) 
~[na:1.8.0_77]
     at 
com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:124) 
~[javax.mail-1.5.5.jar:1.5.5]
     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) 
~[na:1.8.0_77]
     at java.io.BufferedInputStream.read(BufferedInputStream.java:265) 
~[na:1.8.0_77]
     at 
com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:92) 
~[javax.mail-1.5.5.jar:1.5.5]
     at 
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2331) 
~[javax.mail-1.5.5.jar:1.5.5]
     ... 11 common frames omitted


On 04/23/2016 02:23 AM, Leland Corso Sr. wrote:
> When you say check the bd table email_queue are you speaking on the 
> openmeeting machine or theemail server.  If you mean the email server 
> I've looked there and it the mails aren't reaching it to send out yet 
> I can connect via telnet so I know the connection is available.
>
> On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
>> It is definitely doesn't matter
>> I would check server logs and server folders for incoming outgoing emails
>> Additional place to check: DB table email_queue
>>
>> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. 
>> <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>>
>>     Hi,
>>
>>     I'm having an issue sending emails from openmeetings. I've
>>     verified that configuration is correct.  And the log file says
>>     the email was sent.  The issue is that the email never gets
>>     delivered to the recipient.  I have checked the email server and
>>     it doesnt show any errors but the email from the sending account
>>     does not reflect the email even exists.
>>     I have configured
>>      smtp_server = my_mail.server.com <http://my_mail.server.com>
>>      email port = 465
>>      Email acct = noreplay@mydomain.com <ma...@mydomain.com>
>>      SMTP acct = noreplay@mydomain.com <ma...@mydomain.com>
>>      Password  = mypassword
>>      enable SMTP = 1
>>
>>     It was working but seems after I changed the default path from
>>     ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited
>>     config.xml entries
>>     (<webAppRootKey>Linked.Exchange</webAppRootKey> &
>>     <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped
>>     working.  Does it matter whether frontend registration is
>>     available or not?  My assumption is that it does not matter.
>>     -- 
>>     *Leland Corso Sr.
>>     *
>>
>>
>>
>>
>> -- 
>> WBR
>> Maxim aka solomax
>


Re: Email Issue

Posted by "Leland Corso Sr." <lc...@jbs-systems.net>.
When you say check the bd table email_queue are you speaking on the 
openmeeting machine or theemail server.  If you mean the email server 
I've looked there and it the mails aren't reaching it to send out yet I 
can connect via telnet so I know the connection is available.

On 04/23/2016 01:41 AM, Maxim Solodovnik wrote:
> It is definitely doesn't matter
> I would check server logs and server folders for incoming outgoing emails
> Additional place to check: DB table email_queue
>
> On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. 
> <lcorso@jbs-systems.net <ma...@jbs-systems.net>> wrote:
>
>     Hi,
>
>     I'm having an issue sending emails from openmeetings. I've
>     verified that configuration is correct.  And the log file says the
>     email was sent.  The issue is that the email never gets delivered
>     to the recipient.  I have checked the email server and it doesnt
>     show any errors but the email from the sending account does not
>     reflect the email even exists.
>     I have configured
>      smtp_server = my_mail.server.com <http://my_mail.server.com>
>      email port = 465
>      Email acct = noreplay@mydomain.com <ma...@mydomain.com>
>      SMTP acct = noreplay@mydomain.com <ma...@mydomain.com>
>      Password  = mypassword
>      enable SMTP = 1
>
>     It was working but seems after I changed the default path from
>     ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited
>     config.xml entries (<webAppRootKey>Linked.Exchange</webAppRootKey>
>     & <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped
>     working.  Does it matter whether frontend registration is
>     available or not?  My assumption is that it does not matter.
>     -- 
>     *Leland Corso Sr.
>     *
>
>
>
>
> -- 
> WBR
> Maxim aka solomax


Re: Email Issue

Posted by Maxim Solodovnik <so...@gmail.com>.
It is definitely doesn't matter
I would check server logs and server folders for incoming outgoing emails
Additional place to check: DB table email_queue

On Sat, Apr 23, 2016 at 2:10 AM, Leland Corso Sr. <lc...@jbs-systems.net>
wrote:

> Hi,
>
> I'm having an issue sending emails from openmeetings.  I've verified that
> configuration is correct.  And the log file says the email was sent.  The
> issue is that the email never gets delivered to the recipient.  I have
> checked the email server and it doesnt show any errors but the email from
> the sending account does not reflect the email even exists.
> I have configured
>  smtp_server = my_mail.server.com
>  email port = 465
>  Email acct = noreplay@mydomain.com
>  SMTP acct = noreplay@mydomain.com
>  Password  = mypassword
>  enable SMTP = 1
>
> It was working but seems after I changed the default path from
> ./webapps/openmeetings/ to ./webapps/Linked.Exchange/ and edited config.xml
> entries (<webAppRootKey>Linked.Exchange</webAppRootKey> &
> <httpRootKey>/Linked.Exchange/</httpRootKey>) it stopped working.  Does it
> matter whether frontend registration is available or not?  My assumption is
> that it does not matter.
> --
>
> *Leland Corso Sr. *
>



-- 
WBR
Maxim aka solomax