I've created a dll that sends email with/without attachment to gmail
For sure you can use it with hotmail/yahoo etc.
Setup
Copy the dll to the MetaTrader_Path/Experts/Libraries folder.
Copy the xpMail script to MetaTrader_Path/Experts/Scripts folder.
These are the xpMail inputs:
Server
For gmail we are using "smtp.gmail.com"
User
Enter your gmail user name. Ex: [email protected]
Pass
Enter your gmail password.
Port
The server port. For gmail keep the port 465
UseSSL
Does the server use SSL. for gmail keep it = true
Authenticate
Does the server use authentication. for gmail keep it = true
From
The sender that appears in your gmail. ex: [email protected]
To
The email that yo'u send to. usaually your gmail email. ex: [email protected]
CC
Set it if you want to send a copy of the email to another email
BCC
Set it if you want to send a blind copy of the email to another email
Subject
Email subject
Body
Email body. You can use html tags (ex: <br>)
AttachFile
Set it to the path of the file you want to attach to your message.
The program is free but I will not refuse any donations
For sure you can use it with hotmail/yahoo etc.
Setup
Copy the dll to the MetaTrader_Path/Experts/Libraries folder.
Copy the xpMail script to MetaTrader_Path/Experts/Scripts folder.
These are the xpMail inputs:
Server
For gmail we are using "smtp.gmail.com"
User
Enter your gmail user name. Ex: [email protected]
Pass
Enter your gmail password.
Port
The server port. For gmail keep the port 465
UseSSL
Does the server use SSL. for gmail keep it = true
Authenticate
Does the server use authentication. for gmail keep it = true
From
The sender that appears in your gmail. ex: [email protected]
To
The email that yo'u send to. usaually your gmail email. ex: [email protected]
CC
Set it if you want to send a copy of the email to another email
BCC
Set it if you want to send a blind copy of the email to another email
Subject
Email subject
Body
Email body. You can use html tags (ex: <br>)
AttachFile
Set it to the path of the file you want to attach to your message.
The program is free but I will not refuse any donations

Attached File(s)