how to use a dll file?

 

Hi,

 i'm trying to use this dll. 

SendAdvancedEmail - library for MetaTrader 4


and i need some help. where do I copy this file to?  

 

 

i figured that i can import it using these codes below but I don't know where to put the dll file for a successful call. thanks for those who will help.

#import "SendAdvancedEmail.dll"
   void SendAdvancedEmail(string MailFrom, string MailFromName, string MailTo, string MailCC, string MailSubject, string MailBodyContent, 
                          string MailBodyTemplate, string MailPriority, string MailAttachmentPath, string MailAttachmentName, string SMTPServer, 
                          int SMTPPort, bool SMTPEnableSSL, int SMTPTimeout, string SMTPUsername, string SMTPPassword);
#import

 

 
In MQL4\Libraries folder.
 
Alain Verleyen:
In MQL4\Libraries folder.
Does he need to convert string variables to char buffers?
 

Vasyl Nosal:
Does he need to convert string variables to char buffers? 

 

 I'm new to MT4 and MT5 programming so my best answer is yes. however, this is the page where all the details of the codes are:

https://www.mql5.com/en/code/11394

thanks. 

SendAdvancedEmail
SendAdvancedEmail
  • votes: 12
  • 2014.08.01
  • Dorian Ocsovszki
  • www.mql5.com
SendAdvancedEmail function for Metatrader 4 and 5 with HTML mailbody support.
 
Alain Verleyen:
In MQL4\Libraries folder.
thanks Alain
Reason: