Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 25 Jan 2006 10:55:03 -0800,    group: microsoft.public.exchange2000.development        back       


Get IP of connecting server in ISmtpInCommandSink.OnSmtpInCommand   
I'm working with an SMTP protocol sink and am processing in 
ISmtpInCommandSink.OnSmtpInCommand.  I'd like to get the IP address of the 
connecting server.

Any tips would be appreciated.

Thanks in advance.
date: Wed, 25 Jan 2006 10:55:03 -0800   author:   jwh20

RE: Get IP of connecting server in ISmtpInCommandSink.OnSmtpInCommand   
Hi,

Use IMMPID_MP_CONNECTION_IP_ADDRESS on the IMailMsgProperties.GetStringA see 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp 
and 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp for more details.

 brgds
   Martin

"jwh20" wrote:

> I'm working with an SMTP protocol sink and am processing in 
> ISmtpInCommandSink.OnSmtpInCommand.  I'd like to get the IP address of the 
> connecting server.
> 
> Any tips would be appreciated.
> 
> Thanks in advance.
date: Thu, 26 Jan 2006 06:46:02 -0800   author:   am am

RE: Get IP of connecting server in ISmtpInCommandSink.OnSmtpInComm   
Martin,

Thanks for the reply.  I suspected that somehow there needed to be a 
property retrieval to do this but how did you come upon 
IMMPID_MP_CONNECTION_IP_ADDRESS?  

Anyway, I'll give this a try and see what comes up.

Thanks again...

JH...

"nitramsen@nospam.nospam" wrote:

>  Hi,
> 
> Use IMMPID_MP_CONNECTION_IP_ADDRESS on the IMailMsgProperties.GetStringA see 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp 
> and 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp for more details.
> 
>  brgds
>    Martin
> 
> "jwh20" wrote:
> 
> > I'm working with an SMTP protocol sink and am processing in 
> > ISmtpInCommandSink.OnSmtpInCommand.  I'd like to get the IP address of the 
> > connecting server.
> > 
> > Any tips would be appreciated.
> > 
> > Thanks in advance.
date: Thu, 26 Jan 2006 09:16:03 -0800   author:   jwh20

RE: Get IP of connecting server in ISmtpInCommandSink.OnSmtpInComm   
By the way, I was successful in getting this going.  You information was very 
helpful.

Thanks...

JH

"nitramsen@nospam.nospam" wrote:

>  Hi,
> 
> Use IMMPID_MP_CONNECTION_IP_ADDRESS on the IMailMsgProperties.GetStringA see 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp 
> and 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp for more details.
> 
>  brgds
>    Martin
> 
> "jwh20" wrote:
> 
> > I'm working with an SMTP protocol sink and am processing in 
> > ISmtpInCommandSink.OnSmtpInCommand.  I'd like to get the IP address of the 
> > connecting server.
> > 
> > Any tips would be appreciated.
> > 
> > Thanks in advance.
date: Thu, 26 Jan 2006 10:34:03 -0800   author:   jwh20

RE: Get IP of connecting server in ISmtpInCommandSink.OnSmtpInComm   
Hi JH,

You can get all the documentation about SMTP Sink’s at MSDN Library/Win32 
and Com Development/Messaging and Collaboration/SMTP Server. To get directly 
to the enumerators go to 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/4dbe60cd-7f2f-48b9-9c91-0360a59ea6da.asp.

BRGDS
    Martin


"jwh20" wrote:

> Martin,
> 
> Thanks for the reply.  I suspected that somehow there needed to be a 
> property retrieval to do this but how did you come upon 
> IMMPID_MP_CONNECTION_IP_ADDRESS?  
> 
> Anyway, I'll give this a try and see what comes up.
> 
> Thanks again...
> 
> JH...
> 
> "nitramsen@nospam.nospam" wrote:
> 
> >  Hi,
> > 
> > Use IMMPID_MP_CONNECTION_IP_ADDRESS on the IMailMsgProperties.GetStringA see 
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp 
> > and 
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smtpevt/html/3156ada5-33ff-46c2-94f4-de25fd9618bd.asp for more details.
> > 
> >  brgds
> >    Martin
> > 
> > "jwh20" wrote:
> > 
> > > I'm working with an SMTP protocol sink and am processing in 
> > > ISmtpInCommandSink.OnSmtpInCommand.  I'd like to get the IP address of the 
> > > connecting server.
> > > 
> > > Any tips would be appreciated.
> > > 
> > > Thanks in advance.
date: Fri, 27 Jan 2006 01:08:02 -0800   author:   am am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us