0
Fixed

MyCollab doesn't send notification emails but test email works

Jan 8 years ago updated by Nguyen 8 years ago 5

Hi,


I have a problem with notification emails. I am using standelone edition version:


MyCollab Community Edition 5.4.2

Java HotSpot(TM) Client VM, 1.8.0_101-b13
Windows 10, Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

This is output from mycollab.out:


08:22:52,125 ERROR c.m.s.AppEventBus:42 - Error in event bus execution

com.mycollab.core.MyCollabException: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Illegal address in string ``''
at com.mycollab.module.mail.DefaultMailer.getBasicEmail(DefaultMailer.java:96)
at com.mycollab.module.mail.DefaultMailer.sendHTMLMail(DefaultMailer.java:104)
at com.mycollab.module.mail.DefaultMailer.sendHTMLMail(DefaultMailer.java:117)
at com.mycollab.module.mail.service.impl.ExtMailServiceImpl.sendHTMLMail(ExtMailServiceImpl.java:57)
at com.mycollab.module.project.esb.InviteProjectMembersCommand$$anonfun$inviteUsers$1.apply(InviteProjectMembersCommand.scala:126)
at com.mycollab.module.project.esb.InviteProjectMembersCommand$$anonfun$inviteUsers$1.apply(InviteProjectMembersCommand.scala:64)
at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
at com.mycollab.module.project.esb.InviteProjectMembersCommand.inviteUsers(InviteProjectMembersCommand.scala:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:95)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:80)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Illegal address in string ``''
at org.apache.commons.mail.Email.createInternetAddress(Email.java:1920)
at org.apache.commons.mail.Email.setFrom(Email.java:749)
at org.apache.commons.mail.Email.setFrom(Email.java:732)
at com.mycollab.module.mail.DefaultMailer.getBasicEmail(DefaultMailer.java:54)
... 17 common frames omitted
Caused by: javax.mail.internet.AddressException: Illegal address
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:118)
at org.apache.commons.mail.Email.createInternetAddress(Email.java:1895)

... 20 common frames omitted


Test email works and i always receive it in elivery but notifications give me the report as above.



Any ideas?


Tahnks,


Jan

Under review

What is the email you want to invite to join the project?

Never mind. Got it somehow to work.

I have messed with config file for smtp.


1) Commented line "mail.notify=" in "mycollab.properties" saved and restarted service.

2)Un-commented it, saved, restarted service and it somehow works now :-)


Thanks for quick response.


BR,


Jan



Glad to hear it works now. Thank you for reporting this issue, we will fix it in the next release as well


Hai