Name: omni-calendar
Owner: 3Pillar Global Open Source
Description: Java API to send calendar request
Created: 2013-03-19 14:33:54.0
Updated: 2017-04-20 20:52:33.0
Pushed: 2013-10-30 09:14:16.0
Homepage: null
Size: 136
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Omni-calendar is a java library to easily send calendar invitations, whether on Gmail, Outllook or any other mail client. To achieve this, we have provided two implementations:
More implementations are on our roadmap, for example sending meeting invitation using Exchange Web Services API.
You can use the library in following ways:-
You can download the source code and run a maven buld to create a jar file. Then add this jar and other maven dependency in application.
you can incorporate the source directly in your application and add following dependencies:-
First You'll have to create a Instance on EmailInviteImpl class.
Invite invite = new EmailInviteImpl(props);
Constructs an instance of this class. It accepts mail configuration properties.
Parameters:
properties - the mail configuration properties.
Properties should contain
mail.smtp.host, mail.smtp.socketFactory.port, mail.smtp.socketFactory.class, mail.smtp.auth, mail.smtp.port, username, password.
You'll have to call the following function:-
invite.sendInvite(String subject,String description,Participant from,
List<Participant> attendees,Date startDate,Date endDate,String location) throws Exception
First You'll have to create a Instance on GoogleInviteImpl class.
Invite invite = new GoogleInviteImpl(props);
Constructs an instance of this class. It accepts OAuth configuration properties.
Parameters:
properties - the OAUTH configuration properties.
Properties should contain
CLIENT_ID, CLIENT_SECRET, ACCESS_TOKEN, REFRESH_TOKEN, EXPIRY_TIME_IN_MILLIS, APPLICATION_NAME
You'll have to call the following function:-
invite.sendInvite(String subject,String description,Participant from,
List<Participant> attendees,Date startDate,Date endDate,String location) throws Exception