Hi ,
thanks for the reply.
I tried with acitivityparty method as you specified. It sends the mail only when email.to and email.from id is mine that is owner GUID which is taken from windows credentials. If I change the email.to to my application login user's GUID it throws the same error as "Server could not process the request".
Please can you help me in this.
Thanks,
Pkotian
Main Topics
Browse All Topics





by: bmosoftwarePosted on 2008-02-11 at 21:43:09ID: 20872723
Hi Pkotian,
ownloads/d etails.asp x? FamilyID =82e632a7- faf9-41e0- 8ec1-a2662 aae9dfb&Di splayLang= en
A couple of things, that code looks like it comes straight out of the Sdk, unfortunately there have been some problems with some of the sample code in the Sdk for CRM 4.0, especially the earlier versions. Please make sure you have downloaded the latest version http://www.microsoft.com/d
Additionally the user that you are sending from, make sure that they have an email address specified on their user record, otherwise sending emails won't work and will generate the error you are getting.
Also the user you are sending to... someone@example.com needs to exist as an email address against a record in the system otherwise you will also not be able to send. I have put some sample code below using the acitivityparty method rather than the torecipients, the code send an email to the user who is creating the email (as a test), once you are sure that this works you can change the activitypart accordingly.
Select allOpen in new window