Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact Us Request to publish your help manuals Request to remove your help manuals
Introduction
» Fast Email Delivery Engine
» Getting Started
Email Campaigns
» Creating Campaigns with Wizard
» Creating Campaigns
» Message Editor
» Using Campaigns
» Sending Statistics
» Tracking Statistics
Lists
» Lists Overview
» List Operations
» Importing Lists
» Exporting Lists
Queries & Databases
» Creating Queries
» Using Queries
» Managing Databases
Scheduled Tasks & Templates
» Scheduler Overview
» Tool Bar Descriptions
» Creating Templates
» Using Templates
Scripts & Settings
» Scripts Overview
» Managing Scripts
» General
» Sending Mode
» SMTP Server
» DNS Settings
» Proxy Settings
» Web Page
» Tracking
» Domains
» Public DNS Servers
» Spam & Black Lists
Snapshots & Object Model
» Snapshots Overview
» From Queries
» From Inner List
» From Imported List
» From Single URL
» Using Object Model in ASP
» Using Object Model in ASP.NET
» Using Object Model in C#
» Using Object Model in C++
Order & Support Details
» Troubleshoot
» Frequently Asked Questions
» Support
» Order
 

Using Object Model in C#

void CFedeSampleDlg::Send(void)
{
IEmailSenderPtr FEDE;

if (FAILED(CoInitialize(NULL)))
return;

IMessagePtr Message;

try
{
FEDE.CreateInstance("EmailSender.EmailSender");
Message.CreateInstance("EmailSender.Message");
}
catch(char * str){}

BSTR strAbout;

long lResult;

char* from,
char* to;
char* subject;
char* body;

from = GetChar(this->m_From);
to = GetChar(this->m_To);
subject = GetChar(this->m_Subject);
body = GetChar(this->m_Body);

IMessagePtr msg;
msg.CreateInstance("EmailSender.Message");

deleted picture recovery send bulk sms data recovery tools download
digital camera repair services file recovery usb drive usb data restore
download freeware keylogger deleted files recovery recover password

msg->Putfrom(from);
msg->Putto(to);
msg->Putsubject(subject);
msg->PutMimeFormatted(false);
msg->PuttextBody(body);

TCHAR szTemp[32];
IResultPtr result = FEDE->Send(msg, to);

this->m_Message = result->GetSMTPMessage().GetBSTR();
this->m_Code = result->GetSMTPCode();
this->m_Log = result->GetLog().GetBSTR();

CoUninitialize();
}

Troubleshoot

1. Register Object Model

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm C:\Program Files\Lencom Software Inc\Fast E-Delivery Engine\EmailSender.dll /codebase

Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals