Library SimpleEmailClient


[ Keywords | Classes | Data | Functions ]

Quick Index



Classes

CSimpleSMTPClient
Simple API for sending Internet Emails (via SMTP).
CSimpleSocket
Implements a socket class with additional features: timer, text protocol...

Back to the top of SimpleEmailClient


Data

import "SimpleDNSResolver.dll" no_namespace
class ATL_NO_VTABLE CSimpleEmailClientX ;

Back to the top of SimpleEmailClient


Global Functions

LPTSTR WindowsGetErrorText(DWORD dwErrorCode, LPTSTR lpszBuf, DWORD dwSize);

Back to the top of SimpleEmailClient


import "SimpleDNSResolver.dll" no_namespace

#include "SimpleDNSClient.h"

#import "SimpleDNSResolver.dll" no_namespace

Back to the top of SimpleEmailClient


class ATL_NO_VTABLE CSimpleEmailClientX ;

#include "SimpleEmailClientX.h"

CSimpleEmailClientX

class ATL_NO_VTABLE CSimpleEmailClientX : 
	public CComObjectRootEx<CComMultiThreadModel>,
	public CComCoClass<CSimpleEmailClientX, &CLSID_SimpleEmailClientX>,
	public ISupportErrorInfo,
	public IDispatchImpl<ISimpleEmailClientX, &IID_ISimpleEmailClientX, &LIBID_SIMPLEEMAILCLIENTLib>
{
public:
	CSimpleEmailClientX()
	{
	}

Back to the top of SimpleEmailClient


LPTSTR WindowsGetErrorText(DWORD dwErrorCode, LPTSTR lpszBuf, DWORD dwSize);

#include "WindowsErrorText.h"

Purpose: return the text for a given Windows Error Code

Parameters:

in dwErrorCode
WIN32 error code (e.g. returned by "GetLastError")
in lpszBuf
buffer where the error text will be written
in dwSize
size of the buffer (maximum size for the error text)

Return value : LPTSTR = error text (points to lpszBuf)

Description : This function is a wrapper for many error-handling functions from WIN32. It searches for error text in the following locations:

If no error text is found, this function still builds an error message with the format "Error Code 0x%X (%d)" (the error code is shown is hexadecimal and in decimal).

LPTSTR WindowsGetErrorText(DWORD dwErrorCode, LPTSTR lpszBuf, DWORD dwSize);

Back to the top of SimpleEmailClient


Generated from source by the Cocoon utilities on Tue Feb 08 17:47:03 2000 .

Report problems to jkotula@stratasys.com