Answered by:
Plugin for Sending an E-Mail.

Question
-
Hai Everyone,
I have a problem in creating a plugin. My problem is I create an entity Userdata, in that enity one attribuite name is Score. Score is a integer. When ever user modify the score, imediatly user will recive the mail stating like "this is the new score in your A/C" and in that mail contain the attachment of new score in word file.
Can any one help on this...?
Thanks
Rajesh Y
Wednesday, May 26, 2010 4:37 AM
Answers
-
Hi,
You can write a plugin on PostUpdate event, you could check if the values has been modified for the score attribute or not.
And as far as sending mail from a plugin is concerned, check the following posts
http://nishantrana.wordpress.com/2008/07/11/creating-and-sending-email-in-crm/
http://www.dylanhaskins.com/2008/10/adding-attachment-to-crm-email-using-c.html
Regards,
Nishant Rana
http://nishantrana.wordpress.com- Marked as answer by Donna EdwardsMVP Wednesday, May 26, 2010 8:57 PM
Wednesday, May 26, 2010 5:21 AM
All replies
-
Can any one helo me please, i need very Urgent...
Thanks
Rajesh Y
Wednesday, May 26, 2010 5:21 AM -
Hi,
You can write a plugin on PostUpdate event, you could check if the values has been modified for the score attribute or not.
And as far as sending mail from a plugin is concerned, check the following posts
http://nishantrana.wordpress.com/2008/07/11/creating-and-sending-email-in-crm/
http://www.dylanhaskins.com/2008/10/adding-attachment-to-crm-email-using-c.html
Regards,
Nishant Rana
http://nishantrana.wordpress.com- Marked as answer by Donna EdwardsMVP Wednesday, May 26, 2010 8:57 PM
Wednesday, May 26, 2010 5:21 AM -
Hai Nishant,
sorry yar, can you help me more.
Thanks
Rajesh Y
Wednesday, May 26, 2010 5:41 AM -
Hi,
What else you need other then that, suggested by Nishant, Are you facing some issue ???
MahainWednesday, May 26, 2010 5:56 AMModerator