| Author |  | 
      
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          Hello sorry for my English.
           | Posted: 23 July 2010 at 1:01am | IP Logged |   |  
           | 
 |  I'm trying to create an Outlook message through the component MailBee.Mime.MailMessage, everything is correct, but when I open the file is not in composition mode, but these are the keys "REPLY", "Forward" ... . Why?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          The code is this excuse me...
           | Posted: 23 July 2010 at 1:03am | IP Logged |   |  
           | 
 |  
 Dim myeml As String = "c:\msg.eml"
 Dim mymsg As String = "c:\msg.msg"
 MailBee.OutlookMsg.MsgConvert.LicenseKey = "KEY...:"
 Dim msg As New MailBee.Mime.MailMessage
 msg.Attachments.Add("c:\a.txt")
 msg.Subject = "aaa"
 msg.BodyHtmlText = "bbbb"
 msg.SaveMessage(myeml)
 MailBee.OutlookMsg.MsgConvert.EmlToMsg(myeml, mymsg)
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          If you'd like the message to be editable rather than composed already, set MsgConvert.MsgAsDraft property to true.
           | Posted: 23 July 2010 at 2:09am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          MsgConvert.MsgAsDraft is not in my menu....
           | Posted: 23 July 2010 at 2:27am | IP Logged |   |  
           | 
 |  Compare only in 6.0?
 My version is 5.7.2.156.
 
 Thanks. :)
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          That's right, this property was introduced in later versions. If upgrading to MailBee.NET Objects 6.0 is not an option, you can grab the final 5.9 build of the DLL here.
           | Posted: 23 July 2010 at 2:35am | IP Logged |   |  
           | 
 |  
 In some versions, prior to MsgAsDraft property has been introduced, switching the 3rd boolean parameter of EmlToMsg method had the same effect, a separate MsgAsDraft property was added later. There's a chance this might help.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          In correct the procedure.
           | Posted: 23 July 2010 at 3:06am | IP Logged |   |  
           | 
 |  
 I have import.
 
 Imports MailBee
 Imports MailBee.Mime
 Imports MailBee.ImapMail
 Imports MailBee.Outlook
 
 And the code is now.
 
 Dim mymsg As String = "c:\msg.msg"
 Dim converter As New Outlook.MsgConvert
 MsgConvert.LicenseKey = "KEY"
 Dim test As New MailBee.Mime.MailMessage
 test.To.AddFromString("to...")
 test.From.Email = "from"
 test.Subject = "object"
 test.BodyHtmlText = "message"
 test.Attachments.Add("c:\a.txt")
 converter.MsgAsDraft = True
 converter.MailMessageToMsg(test, mymsg)
 
 I have the exception for the license...
 I have use the same license of 5.7.2.156 is a error?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You'll need new license key for MailBee.NET Objects 6.0. Submit a ticket via HelpDesk to get one. Be sure to use the email address you have specified to purchase a license.
           | Posted: 23 July 2010 at 3:11am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          Hi, i have used a trial code for test the code and it works... but .... another code, for the IMAP, with the new dll not working properly,does not generate errors but does not perform the same operations as before ... Why?
           | Posted: 23 July 2010 at 5:41am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 23 July 2010 at 5:45am | IP Logged |   |  
           | 
 |  
| Quote: 
 
    
    | 
      
       | Hi, i have used a trial code for test the code and it works... |  |  |  
 You have been using 30-days trial key for the version released last year? How's that?
 
 Anyway, if you're sure the right license key is used for the DLL, checking IMAP log might help.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          Il codice è stato generato quando prima ho scaricato il MailBee.NET Object, ho aggiunto il nuovo riferimento alla nuova DLL con il nuovo XML, e come codice di licenza ho usato il codice autogenerato al momento del download.
           | Posted: 23 July 2010 at 5:56am | IP Logged |   |  
           | 
 |  
 Devo inserire il codice?
 MailBee.NET.dll : 6.0.2.220
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | nickname81 Newbie
 
  
 
 Joined: 23 July 2010
 Online Status: Offline
 Posts: 12
 | 
          The code was generated when I first downloaded the MailBee.NET Object, I added the new reference to the new DLL with the new XML, and how I used the license key auto-generated code when downloading.
           | Posted: 23 July 2010 at 5:56am | IP Logged |   |  
           | 
 |  
 Should I put the code?
 MailBee.NET.dll: 6.0.2.220
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | sofiaj Newbie
 
  
  
 Joined: 30 November 2010
 Location: Philippines
 Online Status: Offline
 Posts: 1
 | 
          Nice posts. Thanks for sharing.  By the way, I'm a newbie here.
           | Posted: 30 November 2010 at 12:51am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  |