[Building Sakai] How to send a email?

David Horwitz david.horwitz at uct.ac.za
Thu Nov 26 23:09:42 PST 2009


Hi Sam,

You need to add the email API to your maven dependencies - seing you
need to do this I presume your using Sakai 2.5 or earlier so add this to
the dependencies of your maven pom.xml:

<dependency>
    <groupId>org.sakaiproject</grouipId>
    <artifactId>sakai-email-api<artifactId>
</dependency>

If your using Sakai 2.6 or later the dependency you need is to the
kernel api (group= org.sakaiproject.kernel artifact= kernel-api)

David

On 11/27/2009 08:25 AM, Sam Chow wrote:
> Dear David,
>
> it will have compilation error if i  import
> org.sakaiproject.email.api.EmailService;
>
> What should i do, thanks!
>
>
>
> David Horwitz wrote:
>   
>> Hi Sam,
>>
>> see the EmailService:
>> http://source.sakaiproject.org/release/kernel/1.1.0-beta03/apidocs/org/sakaiproject/email/api/EmailService.html
>>
>> D
>>
>> On 11/24/2009 10:16 AM, Sam Chow wrote:
>>     
>>> Dear All,
>>>
>>> I have already written a script to upload some user information to sakai
>>> with a random password. Now, i want to email the information message to
>>> the user automatcally after his informaiton is inserted to the Sakai. Is
>>> there any email api i can call. 
>>>
>>> Many Thanks!
>>>
>>> Sam
>>>   
>>>
>>>
>>> _______________________________________________
>>> 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"
>>
>>     
>   


More information about the sakai-dev mailing list