[Building Sakai] deleting the polls options did not send email notification to the voters

Beth Kirschner bkirschn at umich.edu
Fri Jul 5 13:36:54 PDT 2013


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> 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> 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> 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> 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> 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> 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> 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> 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> 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> 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> wrote:
>>>>> 
>>>>>> In Sakai.properties we have the below info for our server info
>>>>>> 
>>>>>> #serverId        = Sakai1               #Now in local.properties
>>>>>> serverName       = 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
>>>>>> 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> 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> 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 = sakaitest.aiso.claremont.edu
>>>>>>> 
>>>>>>> portal.error.email = sakai.bugs at pomona.edu
>>>>>>> 
>>>>>>> setup.request = please-do-not-reply at claremont.edu
>>>>>>> 
>>>>>>> notifyNewUserEmail    = true
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> PS: 
>>>>>>> Announcement uses "setup.request = 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> 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> 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
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> sakai-dev mailing list
>>>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>>> 
>>>>>>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130705/45a18cd3/attachment.html 


More information about the sakai-dev mailing list