Have you referanced the dll in your application? ~Rick
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Larry Stargate.com Support Team > Sent: Wednesday, October 13, 2004 6:16 PM > To: [EMAIL PROTECTED] > Subject: RE: [IMail Forum] Imail API > > > Here is the small code I am using. I just to be able to > connect to the server and see if I can connect. I am getting > a "failed to get host entry" error > > > Dim pIMailServer As IMailServer > > Private Sub Form_Load() > Set pIMailServer = New IMailServer > End Sub > > Private Sub cmdConnect_Click() > Dim HostName, Username, Password > HostName = "mailserver.stargate.com" > Username = "myadminusername" > Password = "myadminpassword" > > pIMailServer.Connect HostName, Username, Password > > MsgBox "Connected to " & Hostname & "!!" > End Sub > > Larry > > -----Original Message----- > From: Larry Stargate.com Support Team [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 13, 2004 6:10 PM > To: [EMAIL PROTECTED] > Subject: RE: [IMail Forum] Imail API > > > Martin, > > I am writting the code in VB. With your sample are you > able to connect to a remote server and run the sample code or > are you running the sample code on the local server which > also has Imail on the same server? > > Larry > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Martin Schaible > Sent: Wednesday, October 13, 2004 6:06 PM > To: Larry Stargate.com Support Team > Subject: Re: [IMail Forum] Imail API > > > Hi Larry, > > Unfortunately i can't help you. I can confirm that it works > in general. I made a small sample with ColdFusion. > > Do you use VB, C++, or... > > > ============================================ > Am Donnerstag, 14. Oktober 2004 um 00:51 schrieben Sie: > > > Cheers All, > > > This is a continuance of the API questions I had > yesterday. So, I was > able > > to register the DLL and now I am simply trying to connect > to one of > > the remote servers using their sample code and I am receiving a > > failder > message > > trying to connect to the hostname (mailserver). My questions is does > anyone > > know how to configure the DCOM properties on the remote > server and the > > server connecting to the remote server. I am a little lost > with this. > > The API docs I have dont have information on this. TIA > > > Thank you, > > > Larry > > Stargate Support Team > > http://www.stargate.com > > http://www.stargateinc.com/us/faq.asp > > http://www.stargateinc.com/us/knowledgebase.asp > > https://www.stargateinc.com/us/register/index.asp > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 > > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > > List Archive: > > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > > ============================================ > > -- > > Mit freundlichen Gr�ssen > > -------------------------------------------- > Merlin Consulting > Martin Schaible > Bahnhofstrasse 27 > CH-8702 Zollikon > > Phone: +41 1 391 30 00 > Fax: +41 1 391 32 49 > > Mail: mailto:[EMAIL PROTECTED] > URL: http://www.merlinconsulting.ch > Support: http://support.merlinconsulting.ch > > GPS: N47 20.235 E8 34.226 > -------------------------------------------- > News - Neue Produkte: > > .:. Kiwi Syslog Monitor > .:. Paessler GmbH > .:. Sawmill Loganalyzer > -------------------------------------------- > > > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > _____________________________________________________________________ > Virus Scanned and Filtered by - http://www.FamHost.com E-Mail System. > > _____________________________________________________________________ Virus Scanned and Filtered by - http://www.FamHost.com E-Mail System. To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
