Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: imap text |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted December 30, 2003 6:09 PM I have run your sample and get back the appropriate text of the message. I have been unable to get the text using my code. This is a code snipit iole_messagelist = ole_Imap.object.Mailboxes.Item("INBOX").Messages c = iole_messagelist.Count messagebox("", "messages count >" + string(c)) string ls_msg string s For n = 1 to c msg = iole_messagelist.Item(n) // Message was purged from server so remove // from collection and don't add to list If msg.Attribute(msgNumber) = 0 Then iole_messagelist.Remove(n) n = n - 1 c = c - 1 ElseIf not msg.Attribute(msgSeen) then ole_Imap.object.Mailboxes.Item("INBOX").Get(msgContent,n, msg) s = msg.from + "~r~n" + msg.Text + "~r~n" messagebox("", s) end if next It rolls through the code fine and I get the unread messages, but it doesn't get the body text. What am I doing wrong? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 30, 2003 7:24 PM If the sample works, there is no need for me to analyze your code. You must be doing something different. Please take another look at the sample code and try to figure out what's wrong. If you still need help, let me know and I will have someone contact you to explain our other support options. |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted December 31, 2003 11:37 AM Tony, Thanks for the kick in the butt. I was trying to take the easy way out. When I reviewed the sample I saw the error of my ways. All is working fine. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |