>Can anyone help with why this VB code does not work with the Imail API. I 
>am not getting any help from Ipswitch

Good -- this is 100% a VB issue, not an IMail issue.  <G>

>Dim objServer As IMailServer
>Dim objMailboxes As IMailMailboxCollection
>
>Set objServer = New IMAILAPILib.IMailServer
>
>objServer.Connect "perre.com", "demo", "demo"
>
>Set objMailboxes = New IMAILAPILib.IMailMailboxCollection
>
>MsgBox "You got " & objMailboxes.Count & " mailboxe(s) available."

Well, this all depends on the VB objects you wrote (objServer, 
objMailboxes, IMailServer, IMailMailboxCollection).  IMail in (almost) all 
cases follows the RFCs for SMTP/POP3/etc., so you should be able to connect 
to it in the same way you would connect to any other mail server.

To troubleshoot the problem, you would need to either look at the VB 
objects you wrote, or if you didn't write them, contact whoever wrote them 
for instructions on how to ues them.

                                                    -Scott
---
Declude: Anti-virus, Anti-spam and Anti-hijacking solutions for 
IMail.  http://www.declude.com

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to