Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

How to identify whether my mail is generated with or without Aspose.Network license

Last post 06-23-2009, 11:50 PM by forhardik. 4 replies.
Sort Posts: Previous Next
  •  06-23-2009, 7:00 AM 185056

    How to identify whether my mail is generated with or without Aspose.Network license

    Hello All,

     

    I have downloaded Aspose.Network component from your site. Now I am using this component to generate mail. As I don’t have license, how would I be able to identify whether my mail is generated with or without Aspose.Network license.

     

    If I use, Aspose.Word, I am getting “Evaluation copy….”. Would I get any such for Aspose.Network?

     

    Regards,

    Hardik Mehta.

     
  •  06-23-2009, 8:25 AM 185080 in reply to 185056

    Re: How to identify whether my mail is generated with or without Aspose.Network license

    Hi Hardik,

    Thanks for considering Aspose.

    You can generate (send/save to disk) email without the license. In Aspose.Network the evaluation message will be added to the subject of the email and a text file (license agreement) will be added to the email as an attachment.


    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  06-23-2009, 8:54 AM 185089 in reply to 185080

    Re: How to identify whether my mail is generated with or without Aspose.Network license

    Hi,

    If I write below code to generate MSG. i am not getting any such mentioned thing. i dont have even license with me. I have license, but it for Aspose.Word. I hope both the components would refer to different licenses.

    AsposeLib.MailMessage asposeMailmessage = new AsposeLib.MailMessage();

    asposeMailmessage.From = new AsposeLib.MailAddress("xyz@abc.com");

    asposeMailmessage.To.Add("xyz@abc.com");

    asposeMailmessage.CC.Add("xyz@abc.com");

    asposeMailmessage.Subject = "Hello";

    asposeMailmessage.TextBody = "Body";

    MapiMessage mapiMsg = MapiMessage.FromMailMessage(asposeMailmessage);

    mapiMsg.SetMessageFlags(MapiMessageFlags.MSGFLAG_UNSENT);

    mapiMsg.SetStringPropertyValue(MapiPropertyTag.PR_SENDER_EMAIL_ADDRESS, "");

    mapiMsg.SetStringPropertyValue(MapiPropertyTag.PR_SENDER_NAME, "");

    mapiMsg.Save(@"C:\text123.msg");

     

    Please provide your views.

     

    Thanks,

    Hardik.

     
  •  06-23-2009, 3:54 PM 185171 in reply to 185089

    Re: How to identify whether my mail is generated with or without Aspose.Network license .NET

    Hi Hardik,

    The evaluation limitation message appears if you save as an eml file using MailMessage.Save() method or send an email using SmtpClient.Send() method.

    If you execute the following statement, you will see the message in eml file.

    asposeMailmessage.Save("c:\\test.eml", MessageFormat.Eml);


    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  06-23-2009, 11:50 PM 185209 in reply to 185171

    Re: How to identify whether my mail is generated with or without Aspose.Network license

    Hi,

    Thanks for your updates. I am getting respective messages. Now I am able to test difference between evaluation and license versions.

    Thanks.
    Hardik.

     
View as RSS news feed in XML