Testing the Easy Email Connection


After Easy Email has be Enabled and Configured it should be tested on a Demo account.



When the EA is attached to a chart, in the Common tab, in the Safety section, there is a checkbox to Allow DLL imports and another to Confirm DLL function calls.  





If the Confirm DLL function calls is unchecked, each call to the DLL function ezemail will need to be manually permitted.





Shortly after the EA has been attached to a price chart an email should be sent from the platform to the specified To address.


If the email is sent successfully, the message Email send successfully! is written to the Experts tab:


If the email is not sent successfully,  the message

Email error. See log file at: experts\files\ezemail.log

is written to the Experts tab:


The full path of the experts\files\ezemail.log  file is found under the MetaTrader platform installtion folder.  For example:

  C:\Program Files (x86)\MetaTrader 4\experts\files\ezemail.log





Sample errors using Gmail


Error


Error Message

Incorrect UserName

Error with user authentication;Server says: 535-5.7.1 Username and Password not accepted. Learn more at

535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 dz9sm16749589vdc.4 - gsmtp


Incorrect Password

Error with user authentication;Server says: 535-5.7.1 Username and Password not accepted. Learn more at

535 5.7.1 http://support.google.com/mail/bin/answer.py?answer=14257 hi4sm13011409igc.6 - gsmtp

Incorrect Server Name (removed the .com)

Error with connecting server;current server: smtp.gmail;getaddrinfo failed for smtp.gmail 465, error: 0x00002af9

Incorrect Port

Error with connecting server;current server: smtp.gmail.com;connect failed, error: 0x0000274c








Related Topics:
What is VTS
Why use VTS
System Requirements
Installing VTS
Main Menu
Property Window
Toolbox FUNCTIONS Pane
Welcome Screen
Everything You Need To Know About VTS
Expert Advisor Facts
Configure
Assignment
Condition
Configure
PLATFORM Function
Custom Indicators
MQL Function
TEXT Element
INPUT Manager
TRADETIME Manager
TRADESIGNAL Manager
COMMUNICATION Manager
OPENTRADE Manager
Message
Logic
MetaTrader Platform Configuration
Compiler
Compiler Flags
Platform
Editor
EA Output Folder
Custom Indicator Folder
License
Special Functions
fnOpenOrder
fnModifyOrder
fnCloseOrder
init and deinit
MetaTrader Platform
Journal Tab
Experts Tab
Expert Menu
MQL Help
Trade Tab
ECN Brokers
Step 1
Step 2
Step 4
Function and Logic Power Plug-in
Logic
Candlestick Plug-in
Candlestick Function Parameters
Candlestick Drawing
Using a Candlestick Function in a Logic Element
Easy Email Plug-in
Configure Easy Email Settings
Using Easy Email from the Communication Manager
Using Easy Email from any Element
Using Easy Email with the fnSendEzEmail Function
TrendLine Plug-in
Objects on the MetaTrader platform
Manually drawing a trend line
Removing a trend line
Building an Expert Advisor to manage a manually drawn trend line
Building an Expert Advisor to draw and manage a trend line
Grid Plug-in
FX PowerGrid Functions
Grid Main Settings
fnRemoveLines
Using FX PowerGrid
Script & Multi-Platform Plug-in
Building a MetaTrader Script
Using the Multi-Platform Feature
Profit Exits Plug-in
Using the Exit Plug-in
Profit Manager Plug-in
Using the Profit Manager
Target
Action
Price Chart
Client-Side Stops Plug-in
Emergency Stops
Using Client-Side Stops
Using an Offset Value
Using an Absolute Price Value
Fibonacci Trader Plug-in
Objects on the MetaTrader Platform
Manually Drawing a Fibonacci Retracement
Removing a Fibonacci Retracement
Building an Expert Advisor to manage a manually drawn Fibonacci retracement
Building an Expert Advisor to draw and manage a Fibonacci retracement
Signal Aggregator Plug-in
Signal Type: Element
Signal Type: MQL
Signal Type: Logic Condition
Configuring the Weight and Threshold
MQL-Mentor Plug-in
Using the Code Block Feature
Partial-Close Plug-in
Partial-Close Price Chart
EA-Indicator Plug-in
Enable the EA-Indicator Plug-in
Using the EA-Indicator Plug-in
Custom Indicators in the Toolbox
EA-Indicator Price Chart
EA-Indicator Video
Chart Objects Plug-in
fnDrawHorizontalLine
fnDrawVerticalLine
fnDrawArrow
fnDrawThumb
fnDrawLabel
fnDrawText
fnDrawCheckSign
fnDrawStopSign
Chart Objects on a MetaTrader Price chart
Market Score Plug-in
Adding Symbols
Order History Plug-in
EA Secure Plug-in
Enbale the EA Secure Plug-in
EA Secure Plug-in System Manager
EA Secure Configuration
EA Secure on Price Charts
Chart Execute Plug-in
Chart Execute Configuration
Chart Execute on Price Chart
Using Chart Execute
Chart Execute Notes
Money Manager Plug-in
Money Manager Configuration
Money Management Table
Package Plug-in
Load a Package
Pivot Points Plug-in
fnRemoveAllPivots
Using the Pivot Point Plug-in
Pivot Points on a MetaTrader Price Chart
File IO Plug-in
fnFileRead
fnFileWrite
fnDeleteFile
Multi Trade Plug-in
Using the Multi Trade Plug-in
Multi Trade on a MetaTrader Price Chart
Debug Manager Plug-in
Using the Debug Manager Plug-in
Debug Manager Plug-in on a VTS Drawing
Event Manager Plug-in
Using the Event Manager
MQL Event Documentation