We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem Loading MAilMessage

Hi Kashif,

I’m having some troubles when I try to send a mail load from our database when it failed the first time, I’m getting the error Mailbox unavailable. The server response was: 5.7.1 Message rejected as spam by Content Filtering.

But this only happens when I load the message from th blob field I used in the database (it is saved when fails to send the message) otherwise is ignored.

When save the email I use this:

When loading the mail I use this:

msg = new MailMessage();
msg = MailMessage.Load(pathMensaje,MailMessageLoadOptions.DefaultEml);
Hi Alfredo,

Thank you for contacting Aspose support team.

I have tried to re-produce the scenario here but could not succeed. Could you please send me the blob contents (of some sample message) saved in a file so that I may load it into MailMessage and try sending it here? It will help me to observe the issue and provide solution as soon as possible.

Your cooperation is appreciated in this regard.

Hi Kashif,

I was not able to open the bolb until I changed the save method to specifiy the SaveMailOptions to eml, after that I was able to open and send it.



Hi Alfredo,

We are glad to know that your issue is resolved. Please feel free to write us back if you have any other query related to Aspose.Email.