Libraries: SMTP Mail Library

 

SMTP Mail Library:

Library for sending mail messages.

Author: Andrey Voytenko

 
//+------------------------------------------------------------------+
//| MailSendText|
//+------------------------------------------------------------------+
int MailSendText(long & mail,...
  
seems different from the advert.
 
sergeev:
seems different from the ad.

Yeah. Right. I'll have to adjust it. Thanks Alexey!

Immediately after the publication there was an idea to expand the functionality of the library.

So wait for new updates and voice your wishes.

 
avoitenko:

Immediately after the publication the idea to expand the functionality of the library arose.

So wait for new updates and voice your wishes.

I want to use pure sockets without Indy.
 
sergeev:
I want to do it without Indy on pure sockets.

Indy simplified the task a lot. Without it, I can't imagine how much code I would have had to write.

 
is it compatible with mq4?
 
BruceTitania:
is it compatible with mq4?
Yes. All DLL functions are compatible with MQL4.
 
Unfortunately, for 32-bit 4 (765 build) from Windows (64-bit) the library does not work.
Unhandled exception 0x0EEDFADE cr ashes when calling

#import "smtp_mail_x86.dll"
   int MailConnect(long &mail,const string host,const int port,const string user,const string password,const int timeout=5000);
#import 

 
ALXIMIKS:
Unfortunately, the library does not work for 32 bit 4 (765 build) under Windows (64 bit).

Just checked it on my PC (Win 7 64 bit) under MT4. Authorisation for gmail is successful and emails are sent. Maybe you have not installed OpenSSL (link in the description)?
 

Видимо проект устарел, так как пытался сегодня протестировать (MT5 build 2085), но все вылетает с ошибками (OpenSLL установлен).

Принт-скрин ошибки:


 
Sergey Lebedev:

Apparently the project is outdated, as I tried to test it today (MT5 build 2085), but everything crashes with errors (OpenSLL is installed).

Print screen error:


This is an English language forum.

Please only post in English.

Use the site's translation tool if necessary.