Author |
|
nickname81 Newbie
Joined: 23 July 2010
Online Status: Offline Posts: 12
|
Posted: 23 July 2010 at 1:01am | IP Logged
|
|
|
Hello sorry for my English.
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
|
Posted: 23 July 2010 at 1:03am | IP Logged
|
|
|
The code is this excuse me...
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: 6104
|
Posted: 23 July 2010 at 2:09am | IP Logged
|
|
|
If you'd like the message to be editable rather than composed already, set MsgConvert.MsgAsDraft property to true.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
nickname81 Newbie
Joined: 23 July 2010
Online Status: Offline Posts: 12
|
Posted: 23 July 2010 at 2:27am | IP Logged
|
|
|
MsgConvert.MsgAsDraft is not in my menu....
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: 6104
|
Posted: 23 July 2010 at 2:35am | IP Logged
|
|
|
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.
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
|
Posted: 23 July 2010 at 3:06am | IP Logged
|
|
|
In correct the procedure.
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: 6104
|
Posted: 23 July 2010 at 3:11am | IP Logged
|
|
|
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.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
nickname81 Newbie
Joined: 23 July 2010
Online Status: Offline Posts: 12
|
Posted: 23 July 2010 at 5:41am | IP Logged
|
|
|
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?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
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
|
Posted: 23 July 2010 at 5:56am | IP Logged
|
|
|
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.
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
|
Posted: 23 July 2010 at 5:56am | IP Logged
|
|
|
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.
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
|
Posted: 30 November 2010 at 12:51am | IP Logged
|
|
|
Nice posts. Thanks for sharing. By the way, I'm a newbie here.
|
Back to Top |
|
|