I have a code which sends out email using SMTP to a group of users in a for loop of users. In each of this email, I add a file attachment to it.
foreach (Blob a in job.Attachments)
{
oEmail.Attachments.Add(new Attachment(a.MemoryStream, a.FileName, a.FileMimeType));
}
Now, some users report that they can't seem to open the attachment at all, even in Desktop or Ipad or iPhone. When they click the attachment it's just blank.
I tried it by sending to myself and it worked fine, and also to other users. All okay, but when sending in a batch, it seems like there's an issue. Does anyone know what could be wrong
Go to the complete details ...