掲示板

Calendar Event Alerts to Multiple Emails

12年前 に Michael Harper によって更新されました。

Calendar Event Alerts to Multiple Emails

Junior Member 投稿: 56 参加年月日: 11/08/10 最新の投稿
I was wondering how to change the Calendar portlet to allow a user to set a custom email, or emails that they want the alert sent to, or if there was a way to just select the users from the directory of who should receive the alert email?

Thanks in advance for any help!

Mike
12年前 に Michael Harper によって更新されました。

RE: Calendar Event Alerts to Multiple Emails

Junior Member 投稿: 56 参加年月日: 11/08/10 最新の投稿
I found where to edit that part of the portlet in the edit.event.jsp file. The problem I'm having now is I'm not sure how to add in the "Other" radio with the text box to put your own email/emails that you would like the reminder sent to. I wouldn't think I would have to edit in anything to the CalEventConstants. Has anyone else done something like this that could shed some light on it for me?

Thanks!

Mike

<aui:field-wrapper cssclass="reminders" label="">
					<aui:input checked="<%= remindBy == CalEventConstants.REMIND_BY_NONE %>" label="do-not-send-a-reminder" name="remindBy" type="radio" value="<%= CalEventConstants.REMIND_BY_NONE %>" />
					<aui:input checked="<%= remindBy == CalEventConstants.REMIND_BY_EMAIL %>" label="<%= LanguageUtil.get(pageContext, &quot;email-address&quot;) + &quot; (&quot; + user.getEmailAddress() + &quot;)&quot; %>" name="remindBy" type="radio" value="<%= CalEventConstants.REMIND_BY_EMAIL %>" />
					<aui:input checked="<%= remindBy == CalEventConstants.REMIND_BY_SMS %>" label="<%= LanguageUtil.get(pageContext, &quot;sms&quot;) + (Validator.isNotNull(contact.getSmsSn()) ? &quot; (&quot; + contact.getSmsSn() + &quot;)&quot; : &quot;&quot;) %>" name="remindBy" type="radio" value="<%= CalEventConstants.REMIND_BY_SMS %>" />
				</aui:field-wrapper>
10年前 に Juan Carlos Toledo Baute によって更新されました。

RE: Calendar Event Alerts to Multiple Emails

Junior Member 投稿: 50 参加年月日: 11/03/30 最新の投稿
Hi

I intend to send the reminder to more of an email account, read from additional user emails. I think it's in the shipping module which must intervene to add the new account.
Someone can guide me which module or event should extend. I have not much experience in programming on Liferay, an example I could use so well ..

thanks
12年前 に Guru k によって更新されました。

RE: Calendar Event Alerts to Multiple Emails

Junior Member 投稿: 64 参加年月日: 12/02/08 最新の投稿
Hi Mike,

Have you succeeded in sending email notification to multiple users from calendar portlet.

Can you tell me how to achieve it as i am having the same requirement.

Thanks
Guru
11年前 に Suresh Rangachari によって更新されました。

RE: Calendar Event Alerts to Multiple Emails

New Member 投稿: 14 参加年月日: 11/12/14 最新の投稿
Hi Guru,


You can create a Listener for Calendar Event like OnAfterCreate,OrRemove..etc ... suppose if you have a organization and if you want to send out the event notification for the members (all the members/ only selected). you can pull them from the liferay implementation util classes (refer OrganizationLocalServiceUtil )and you can loop to an to[] internetAddress array and use the Mailservice or MailEngine class for sending out notification. Any help get back to me..


Thanks