Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 1 Mar 2007 07:48:35 -0500,    group: microsoft.public.platformsdk.networking        back       


ATL CSMTPConnection error 10038   
I am using latest ATL CSMTPConnection class

========================================
CSMTPConnection conn;

if(!conn.Connect(m_bstrServer))
    return HRESULT_FROM_WIN32(GetLastError());

if( !conn.SendMessage(msg) )
    return HRESULT_FROM_WIN32(GetLastError());

conn.Disconnect();
==========================================

and getting next error in production environment

Number     : 10038
Description: An operation was attempted on something that is not a socket.

but I could not reproduce this error in my testing environment

Any idea?

Thank you,

Volodia.
date: Thu, 1 Mar 2007 07:48:35 -0500   author:   Volodia

Google
 
Web ureader.com


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