CRMBuzz.net

Abe Saldana on Microsoft Dynamics CRM Development
posts - 23, comments - 0, trackbacks - 0

Detach Email from Queue

How to Detach an Email from a Queue?

 This is just a code snippet from my SDK extension. 

 

 

private void btnDetach_Click(object sender, System.EventArgs e)

{

      string status = string.Empty;

      bool returnStatus;

 

      string emailText = txtEmailID.Text;

      if (emailText != string.Empty)

      {

            EmailProxy emailDetach = new EmailProxy();

 

            returnStatus = emailDetach.EmailDetachFromQueue(emailText);

 

            if (returnStatus)

            {

                  status = "Email Detached from Queue";

            }

            else

            {

                  status = "Error detaching email from Queue";

            }

            MessageBox.Show( status, "Detach email from Queue");

 

      }

 

}

 

 

 Do you want to know the details please add a comment, the detail article will depend on the demand

Thanks

Abe Saldana

This all is undocumented and unsupported. Therefore you should only
try these kind of modifications if you feel comfortable with this.
Everything here, though, is my personal opinion and is not read nor
approved before being posted. No warranties or other guarantees will
be offered as to the quality of the opinions or anything else offered
here.

Print | posted on Monday, May 07, 2007 4:13 PM |

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 5 and 8 and type the answer here:

Powered by: