开发者

Force.com email service

I h开发者_StackOverflow社区ave created an email service in force.com.Can anyone help me out of how to use thta in apex classes.say,i wanna send mail when user registration is successful??

Many Thanks, Sandhya Krishnan


I assume you want to send an email directly from Apex code, either in a Trigger or from a page controller ... ? If so, this page can get you started:

http://www.forcetree.com/2009/07/sending-email-from-your-apex-class.html

Clearly you don't want to hard-code your email template into your classes, so make sure to read at least through the part that shows how to look up the template dynamically. That should be enough to get you on your way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜