[Building Sakai] deleting the polls options did not send email notification to the voters
Jean-Francois Leveque
jean-francois.leveque at upmc.fr
Wed Jul 10 01:22:59 PDT 2013
Did you configure
fromEmailAddress at org.sakaiproject.poll.logic.ExternalLogic?
Check https://jira.sakaiproject.org/browse/SAK-23242 for further details
and other email configuration information.
J-F
On 10/07/2013 04:43, Steve Swinsburg wrote:
> Have you tried enabling debug logging on the emailservice so you can see
> exactly what is happening? It prints out a lot of useful data.
>
>
> On Wed, Jul 10, 2013 at 10:28 AM, Sanghyun Jeon <euksa99 at gmail.com
> <mailto:euksa99 at gmail.com>> wrote:
>
> What locale are you using?
>
> -->English
>
> I've tried 1.4.5 and 1.4.5-SNAPSHOT which was provided by sakai2.8.x_all
> I have the same error
>
> WARN] org.sakaiproject.email.impl.BasicEmailService:675 - send:
> javax.mail.internet.AddressException: Illegal address in string ``''
>
> As I mentioned before, I can send out email notification when I use
> "add participants" from SITE INFO and other tools such as
> announcement, forums tool can send out the email notification
> without any difficulty.
>
>
>
> Any suggestion?
>
> S
>
>
>
> On Tue, Jul 9, 2013 at 4:18 PM, Steve Swinsburg
> <steve.swinsburg at gmail.com <mailto:steve.swinsburg at gmail.com>> wrote:
>
> What locale are you using?
>
> Sent from my iPad
>
> On 10/07/2013, at 2:18, Sanghyun Jeon <euksa99 at gmail.com
> <mailto:euksa99 at gmail.com>> wrote:
>
>> Even admin who has full permissions has the same experience.
>>
>> Any other suggestion?
>>
>> S
>>
>>
>>
>> On Mon, Jul 8, 2013 at 5:25 AM, Beth Kirschner
>> <bkirschn at umich.edu <mailto:bkirschn at umich.edu>> wrote:
>>
>> This is probably a permissions problem (i.e. check the
>> polls permissions for your login user).
>>
>> Also, all the http://nightly2.sakaiproject.org/ servers
>> are now redirecting their email to tomcat's catalina.out
>> log file (thanks Greg!).
>>
>> - Beth
>>
>>
>> On Jul 5, 2013, at 6:04 PM, Sanghyun Jeon
>> <euksa99 at gmail.com <mailto:euksa99 at gmail.com>> wrote:
>>
>>> Thank you for your reply
>>>
>>> I just check catalina.out but cannot find polls delete
>>> option notification. Neither was stu88's email address
>>> euksa99 at gmail.com <mailto:euksa99 at gmail.com>.
>>>
>>> I also reinstall
>>> https://source.sakaiproject.org/svn/polls/tags/polls-1.5.1/ to
>>> my local vm, but rebuild it,
>>> Unfortunately, I cannot add a new poll. Here's a strange
>>> behavior I got... Tomcat is silent..
>>>
>>> 1) click add polls
>>> 2) type question
>>> 3) click save and add options
>>> 4) next window shows the same add polls windows, which
>>> means question appears again and there is no save button
>>> 5) repeat step 2 again
>>> Since I cannot save the newly created polls, I cannot
>>> finish adding a new poll
>>>
>>> Any idea?
>>>
>>> S
>>>
>>>
>>> On Fri, Jul 5, 2013 at 1:36 PM, Beth Kirschner
>>> <bkirschn at umich.edu <mailto:bkirschn at umich.edu>> wrote:
>>>
>>> I don't believe any of our nightly servers
>>> (http://nightly2.sakaiproject.org/) have email enabled.
>>>
>>> You can try testing with the nightly experimental
>>> build - this is running trunk, and logs all email to
>>> the tomcat logs:
>>> server: http://nightly2.sakaiproject.org:8085/portal
>>> logs:
>>> http://nightly2.sakaiproject.org/logs/tomcat-contrib/ (see
>>> catalina.out)
>>>
>>> - Beth
>>>
>>>
>>> On Jul 5, 2013, at 2:41 PM, Sanghyun Jeon
>>> <euksa99 at gmail.com <mailto:euksa99 at gmail.com>> wrote:
>>>
>>>> I am wondering whether our nightly site
>>>> (http://nightly2.sakaiproject.org:8087/portal/) is
>>>> able to send email out to the users?
>>>> If so, looks like nightly site is also not working
>>>> for poll delete option notification, either.
>>>> Here's what I did to test on nightly
>>>>
>>>> 1) create a course site (SMPL101 Spring 2013)
>>>> 2) add a new user (stu88) with email address and pwd
>>>> 3) add a new user into the newly created a site
>>>> 4) create a poll as admin and become a new user,
>>>> stu88 to vote
>>>> 5) login as a admin and check the result, first and
>>>> make sure stu88 voted for option3
>>>> 6) delete option3 and check to send notification
>>>> email who voted the deleted option
>>>> 7) stu88 have not received the notification email.
>>>>
>>>>
>>>> If nightly cannot send out an email, please, let me
>>>> know how I can test this poll feature?
>>>> If poll 1.5 does not have this issue, I would like
>>>> to update our current version (1.4.5) in order to
>>>> resolve this problem. However, I want to confirm
>>>> this feature works on Poll 1.5, first.
>>>>
>>>> Thank you in advance
>>>>
>>>> S
>>>>
>>>>
>>>>
>>>> On Tue, Jun 18, 2013 at 1:15 AM, Steve Swinsburg
>>>> <steve.swinsburg at gmail.com
>>>> <mailto:steve.swinsburg at gmail.com>> wrote:
>>>>
>>>> Can you enable debug level logging for the email
>>>> service api package, the you will see the full
>>>> contents of the message going out. I wonder if
>>>> you get notifications from site manage? It may
>>>> be an issue with email template service. But
>>>> enable debug logging and you will see more info.
>>>>
>>>> Cheers,
>>>> Steve
>>>>
>>>> Sent from my iPad
>>>>
>>>> On 18/06/2013, at 4:15, Sanghyun Jeon
>>>> <euksa99 at gmail.com <mailto:euksa99 at gmail.com>>
>>>> wrote:
>>>>
>>>>> all users.
>>>>> No user who votes the deleted option (
>>>>> regardless of their role) receive the email.
>>>>>
>>>>> S
>>>>>
>>>>>
>>>>> On Sat, Jun 15, 2013 at 1:00 AM, Steve
>>>>> Swinsburg <steve.swinsburg at gmail.com
>>>>> <mailto:steve.swinsburg at gmail.com>> wrote:
>>>>>
>>>>> Does it do this for all users or only some?
>>>>> Does anyone get the email?
>>>>>
>>>>> Sent from my iPad
>>>>>
>>>>> On 15/06/2013, at 1:56, Sanghyun Jeon
>>>>> <euksa99 at gmail.com
>>>>> <mailto:euksa99 at gmail.com>> wrote:
>>>>>
>>>>>> I've tried both guest account (gmail) and
>>>>>> our campus account. Both users did not
>>>>>> receive the notification email :(
>>>>>>
>>>>>> S
>>>>>>
>>>>>>
>>>>>> On Thu, Jun 13, 2013 at 6:02 PM, Steve
>>>>>> Swinsburg <steve.swinsburg at gmail.com
>>>>>> <mailto:steve.swinsburg at gmail.com>> wrote:
>>>>>>
>>>>>> Right so what is the email address of
>>>>>> the user that it is trying to send to?
>>>>>>
>>>>>> Sent from my iPad
>>>>>>
>>>>>> On 14/06/2013, at 10:41, Sanghyun Jeon
>>>>>> <euksa99 at gmail.com
>>>>>> <mailto:euksa99 at gmail.com>> wrote:
>>>>>>
>>>>>>> Here's the full tomcat error. Hope
>>>>>>> somebody helps me why student cannot
>>>>>>> receive the notification email after
>>>>>>> poll option has been deleted. As you
>>>>>>> see the problem is
>>>>>>> : javax.mail.internet.AddressException:
>>>>>>> Illegal address in string ``''
>>>>>>>
>>>>>>> I change the user from admin to the
>>>>>>> specific instructor (I thought admin
>>>>>>> might don't have an email address),
>>>>>>> but the result is the same.
>>>>>>>
>>>>>>> 2013-06-13 17:34:57.685 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.SectionRoleResolver:137
>>>>>>> - Found 0 currently enrolled sections
>>>>>>> for user admin
>>>>>>> 2013-06-13 17:34:57.688 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>>>>>> - Found 0 groups for admin from
>>>>>>> resolver
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.SectionRoleResolver
>>>>>>> 2013-06-13 17:34:57.689 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseOfferingRoleResolver:118
>>>>>>> - Found 0 course offering roles for admin
>>>>>>> 2013-06-13 17:34:57.690 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>>>>>> - Found 0 groups for admin from
>>>>>>> resolver
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseOfferingRoleResolver
>>>>>>> 2013-06-13 17:34:57.691 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleResolver:102
>>>>>>> - getGroupRoles: admin
>>>>>>> 2013-06-13 17:34:57.693 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:140
>>>>>>> - Found 0 groups for admin from
>>>>>>> resolver
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseSetRoleResolver
>>>>>>> 2013-06-13 17:34:57.693 [DEBUG]
>>>>>>> org.sakaiproject.coursemanagement.impl.provider.CourseManagementGroupProvider:163
>>>>>>> - ______________getGroupRolesForUser={}
>>>>>>> 2013-06-13 17:35:32.936 [INFO]
>>>>>>> org.sakaiproject.poll.tool.params.PollToolBean:296
>>>>>>> - about to delete option 2253
>>>>>>> 2013-06-13 17:35:32.956 [INFO]
>>>>>>> org.sakaiproject.poll.service.impl.PollListManagerImpl:326
>>>>>>> - Option id 2253 deleted
>>>>>>> 2013-06-13 17:35:33.411 [WARN]
>>>>>>> org.sakaiproject.email.impl.BasicEmailService:675
>>>>>>> - send:
>>>>>>> javax.mail.internet.AddressException:
>>>>>>> Illegal address in string ``''
>>>>>>> 2013-06-13 17:35:37.296 [INFO]
>>>>>>> org.sakaiproject.poll.tool.params.PollToolBean:184
>>>>>>> - Poll saved with id of 691
>>>>>>>
>>>>>>>
>>>>>>> Thank you in advance.
>>>>>>>
>>>>>>> S
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Jun 13, 2013 at 5:05 PM,
>>>>>>> Steve Swinsburg
>>>>>>> <steve.swinsburg at gmail.com
>>>>>>> <mailto:steve.swinsburg at gmail.com>>
>>>>>>> wrote:
>>>>>>>
>>>>>>> Sorry, phone typo. Send the full
>>>>>>> error. And do it on the mailing
>>>>>>> list not directly to me.
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>> On 14/06/2013, at 7:48, Sanghyun
>>>>>>> Jeon <euksa99 at gmail.com
>>>>>>> <mailto:euksa99 at gmail.com>> wrote:
>>>>>>>
>>>>>>>> Sorry, I did not quite
>>>>>>>> understand what you meant "Ca
>>>>>>>> you end the full error in
>>>>>>>> Sakai.props. Also can you do all
>>>>>>>> of this on list please."
>>>>>>>> Do I send you full tomcat error
>>>>>>>> or sakai.properties?
>>>>>>>>
>>>>>>>> S
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jun 12, 2013 at 8:39 PM,
>>>>>>>> Steve Swinsburg
>>>>>>>> <steve.swinsburg at gmail.com
>>>>>>>> <mailto:steve.swinsburg at gmail.com>>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Ca you end the full error in
>>>>>>>> Sakai.props. Also can you do
>>>>>>>> all of this on list please.
>>>>>>>>
>>>>>>>> Sent from my iPad
>>>>>>>>
>>>>>>>> On 13/06/2013, at 10:30,
>>>>>>>> Sanghyun Jeon
>>>>>>>> <euksa99 at gmail.com
>>>>>>>> <mailto:euksa99 at gmail.com>>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> In Sakai.properties we have
>>>>>>>>> the below info for our
>>>>>>>>> server info
>>>>>>>>>
>>>>>>>>> #serverId = Sakai1
>>>>>>>>> #Now in
>>>>>>>>> local.properties
>>>>>>>>> serverName =
>>>>>>>>> Sakaitest.AISO.Claremont.Edu <http://sakaitest.aiso.claremont.edu/>
>>>>>>>>> ui.institution = The
>>>>>>>>> Claremont Colleges
>>>>>>>>> ui.service =
>>>>>>>>> Claremont Collaborative
>>>>>>>>> Learning Environment
>>>>>>>>> version.service = v2.8.x
>>>>>>>>> version.sakai = 2.8.x
>>>>>>>>>
>>>>>>>>> serverUrl =
>>>>>>>>> https://sakaitest.aiso.claremont.edu
>>>>>>>>> <https://sakaitest.aiso.claremont.edu/>
>>>>>>>>> portalPath = /portal
>>>>>>>>> accessPath = /access
>>>>>>>>> helpPath = /help
>>>>>>>>> toolPath = /portal/tool
>>>>>>>>> gatewaySiteId = !gateway
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wed, Jun 12, 2013 at
>>>>>>>>> 4:13 PM, Steve Swinsburg
>>>>>>>>> <steve.swinsburg at gmail.com
>>>>>>>>> <mailto:steve.swinsburg at gmail.com>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> What's your hostname
>>>>>>>>> value in Sakai props?
>>>>>>>>>
>>>>>>>>> Sent from my iPad
>>>>>>>>>
>>>>>>>>> On 13/06/2013, at 1:55,
>>>>>>>>> Sanghyun Jeon
>>>>>>>>> <euksa99 at gmail.com
>>>>>>>>> <mailto:euksa99 at gmail.com>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Can you send email
>>>>>>>>>> notifications
>>>>>>>>>> normally? ie from
>>>>>>>>>> announcements?
>>>>>>>>>> --> YES
>>>>>>>>>> That error is likely
>>>>>>>>>> to do with the email
>>>>>>>>>> settings in sakai
>>>>>>>>>> properties. Can you
>>>>>>>>>> post those, include
>>>>>>>>>> the email address ones.
>>>>>>>>>> --> Does Polls has
>>>>>>>>>> a separate email
>>>>>>>>>> settings in
>>>>>>>>>> sakai.properties?
>>>>>>>>>> send:
>>>>>>>>>> javax.mail.internet.AddressException:
>>>>>>>>>> Illegal address in
>>>>>>>>>> string ``'' --> It
>>>>>>>>>> seems to me email
>>>>>>>>>> address is empty string.
>>>>>>>>>>
>>>>>>>>>> Below is all my email
>>>>>>>>>> setting at
>>>>>>>>>> sakai.properties
>>>>>>>>>> #############################################
>>>>>>>>>>
>>>>>>>>>> # Email
>>>>>>>>>> ##########################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> smtp.enabled = true
>>>>>>>>>> smtp at org.sakaiproject.email.api.EmailService
>>>>>>>>>> <mailto:smtp at org.sakaiproject.email.api.EmailService>
>>>>>>>>>> =
>>>>>>>>>> sakaitest.aiso.claremont.edu
>>>>>>>>>> <http://sakaitest.aiso.claremont.edu/>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> portal.error.email =
>>>>>>>>>> sakai.bugs at pomona.edu
>>>>>>>>>> <mailto:sakai.bugs at pomona.edu>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> setup.request =
>>>>>>>>>> please-do-not-reply at claremont.edu
>>>>>>>>>> <mailto:please-do-not-reply at claremont.edu>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> notifyNewUserEmail
>>>>>>>>>> = true
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> PS:
>>>>>>>>>> Announcement uses
>>>>>>>>>> "setup.request =
>>>>>>>>>> please-do-not-reply at claremont.edu
>>>>>>>>>> <mailto:please-do-not-reply at claremont.edu>"
>>>>>>>>>> Please let me know if
>>>>>>>>>> I miss any email
>>>>>>>>>> setting for polls
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> S
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 11, 2013
>>>>>>>>>> at 8:18 PM, Steve
>>>>>>>>>> Swinsburg
>>>>>>>>>> <steve.swinsburg at gmail.com
>>>>>>>>>> <mailto:steve.swinsburg at gmail.com>>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Can you send email
>>>>>>>>>> notifications
>>>>>>>>>> normally? ie from
>>>>>>>>>> announcements?
>>>>>>>>>> That error is
>>>>>>>>>> likely to do with
>>>>>>>>>> the email settings
>>>>>>>>>> in sakai
>>>>>>>>>> properties. Can
>>>>>>>>>> you post those,
>>>>>>>>>> include the email
>>>>>>>>>> address ones.
>>>>>>>>>>
>>>>>>>>>> Cheers
>>>>>>>>>> Steve
>>>>>>>>>>
>>>>>>>>>> Sent from my iPhone
>>>>>>>>>>
>>>>>>>>>> On 12/06/2013, at
>>>>>>>>>> 10:35, Sanghyun
>>>>>>>>>> Jeon
>>>>>>>>>> <euksa99 at gmail.com
>>>>>>>>>> <mailto:euksa99 at gmail.com>>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello All,
>>>>>>>>>>>
>>>>>>>>>>> After deleting an
>>>>>>>>>>> option with
>>>>>>>>>>> votes, we click
>>>>>>>>>>> to send email
>>>>>>>>>>> notification to
>>>>>>>>>>> the voters.
>>>>>>>>>>> However, the
>>>>>>>>>>> voter does not
>>>>>>>>>>> receive any email
>>>>>>>>>>> notification.
>>>>>>>>>>>
>>>>>>>>>>> To reproduce:
>>>>>>>>>>> click on Edit
>>>>>>>>>>> under an existing
>>>>>>>>>>> poll
>>>>>>>>>>> Click on delete
>>>>>>>>>>> next to one of
>>>>>>>>>>> the answers to
>>>>>>>>>>> the poll
>>>>>>>>>>> Choose to notify
>>>>>>>>>>> users that answer
>>>>>>>>>>> is being deleted
>>>>>>>>>>> and to vote again.
>>>>>>>>>>>
>>>>>>>>>>> The user who
>>>>>>>>>>> voted for that
>>>>>>>>>>> particular answer
>>>>>>>>>>> did not receive
>>>>>>>>>>> any email from
>>>>>>>>>>> Sakai telling
>>>>>>>>>>> him/her to vote
>>>>>>>>>>> again.
>>>>>>>>>>>
>>>>>>>>>>> Tomcat log shows
>>>>>>>>>>>
>>>>>>>>>>> 2013-06-11
>>>>>>>>>>> 17:22:41.986
>>>>>>>>>>> [WARN]
>>>>>>>>>>> org.sakaiproject.email.impl.BasicEmailService:675
>>>>>>>>>>> - send:
>>>>>>>>>>> javax.mail.internet.AddressException:
>>>>>>>>>>> Illegal address
>>>>>>>>>>> in string ``''
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I am wondering
>>>>>>>>>>> where I should
>>>>>>>>>>> dig first in
>>>>>>>>>>> order to resolve
>>>>>>>>>>> this problem...
>>>>>>>>>>>
>>>>>>>>>>> We are using
>>>>>>>>>>> polls
>>>>>>>>>>> 1.4.5-SNAPSHOT
>>>>>>>>>>> and parent is
>>>>>>>>>>> sakai-standard-tool
>>>>>>>>>>> 2.8.6 within
>>>>>>>>>>> Sakai 2.8_x_all
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Please shed some
>>>>>>>>>>> light on this, so
>>>>>>>>>>> that I can
>>>>>>>>>>> resolve this issue.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thank you.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> S
More information about the sakai-dev
mailing list