How to adjust the size of E-mail message and the size of attachment file

Apr 8, 2008 at 2:38 PM
Hi,

Does anyone know how to adjust the size of E-mail message and the size of attachment file?

Regarding the size of E-mail message, I assume that I could adjust it by editing the following sentences in EmailMatching.cs:

  • <line 185, 243 and 336>
  • deliverPromoteEmailRequest.Body = GenerateRandomText(1000);

Is this correct?

Regarding the size of attachment file, I assume that I could adjust it by editing the following sentences in EmailMatching.cs

  • <line 187, 245 and 338>
  • deliverPromoteEmailRequest.Attachments = new BusinessEntityCollection();
  • deliverPromoteEmailRequest.Attachments.EntityName = "activitymimeattachment";
  • deliverPromoteEmailRequest.Attachments.BusinessEntities = new activitymimeattachment0;

How do I adjust the size of attachment file?

Best regards,
Keiji
Apr 18, 2008 at 8:04 PM
For the First part, I think you are correct.

For the second part, let me get back to you after I investigate it further.

Thanks,
Aditya.