"

Send Price Quotes By Email (Up to 50 quotes of your choice)

by Dr.Hamdi Boukamcha
Name:
Send Price Quotes By Email (Up to 50 quotes of your choice)
Author: blackhawk (2011.05.10 10:07)
Rating: 10
Downloaded: 2900
Download:
Send Price Quotes By Email (Up to 50 quotes of your choice)   Price_Quotes_By_Email.mq4 (31.8 Kb) View
Do you want to receive your quotes by email in a clean an organized way ?

This EA is easy to use. You just need to introduce the desired frecuency of the emails (minutes) and the name of the symbols you want to add to the email.

Then you compile and you just need to drop the EA on an active Chart. The market must be open for the EA to work, so I recommend to drop it on a EURUSD chart because FOREX opens 24 hrs a day. When you want to stop the EA from sending emails you don’t need to remove the EA from the chart. If you set the minutes frecuency to 0 (zero) the EA will stop running and compile the EA.

The EA runs only when it’s the time to send the email and “sleep” other times, so the consumption of the PC resources is low.

ATTENTION: You need to enable and configure the email on MT4 before using this EA (go to TOOLS >> OPTIONS >> EMAIL)

************************

IMPORTANT: THIS EA COULD NOT WORK IN SOME CASES GIVING THIS ERROR: “Mail: 451 Invalid Smtp line – Should end with CRLF”

This EA need to use a code structure which is not supported by all servers, specially those servers (like Yahoo) that are enforcing some fairly strict email related RFC standards (rules) in their email checks.
If the EA is not selling emails correctly and when you check your MT4 Journal you have this message: “Ma il: 451 Invalid Smtp line – Should end with CRLF”, you will need to try with another email account that is supporting a more complex smtp coding.

************************

Send Price Quotes By Email (Up to 50 quotes of your choice)

5 comments  To post a new comment, please log in or register

Great EA. now i can post quotes or account info or both to my twitter/facebook directly.
06.10.2011 19:19 ashokdelhi

Can you help me get to be an active email MetaTrader
16.05.2011 06:10 davoodd

blackhawk:

bnbb2004:
Thanks for sharing BlackHawk! 🙂

I’m getting this error: 2011.05.10 12:44:31 Mail: 451 Invalid Smtp line – Should end with CRLF

(My configuration – I havent had this issue sending email before from my mt4 platform: smtp.att.yahoo.com: 587). Please advise as I’m not sure what the CRLF means. Thanks!

RESPONSE TO THE PROBLEM: Mail: 451 Invalid Smtp line – Should end with CRLF

This error it is because the EA is trying to send email through or to a mail server that is enforcing some fairly strict email related RFC standards (rules) in their email checks. I tried with my yahoo email account and had the same problem. I think that the problem is due to the use of line breaks like “\n” or tabs like “\t”.

What I recommend is to try with another email account that uses a server that is compatible with that type of code.

Note: I have no problems with emails sent from MT4 using my yahoo account when the email is short and the entire message is on the same line, but in this EA we can send up to 50 different symbols at the same time, and we need to use this code structure which is not supported by all the servers.

This is my ISP’s SMTP settings (ATT Uverse) so I’m not sure which other email account service I could use. Did you have any luck with another email account yet?

15.05.2011 03:54 bnbb2004

bnbb2004:
Thanks for sharing BlackHawk! 🙂

I’m getting this error: 2011.05.10 12:44:31 Mail: 451 Invalid Smtp line – Should end with CRLF

(My configuration – I havent had this issue sending email before from my mt4 platform: smtp.att.yahoo.com: 587). Please advise as I’m not sure what the CRLF means. Thanks!

RESPONSE TO THE PROBLEM: Mail: 451 Invalid Smtp line – Should end with CRLF

This error it is because the EA is trying to send email through or to a mail server that is enforcing some fairly strict email related RFC standards (rules) in their email checks. I tried with my yahoo email account and had the same problem. I think that the problem is due to the use of line breaks like “\n” or tabs like “\t”.

What I recommend is to try with another email account that uses a server that is compatible with that type of code.

Note: I have no problems with emails sent from MT4 using my yahoo account when the email is short and the entire message is on the same line, but in this EA we can send up to 50 different symbols at the same time, and we need to use this code structure which is not supported by all the servers.

 

12.05.2011 19:17 blackhawk

Thanks for sharing BlackHawk! 🙂

I’m getting this error: 2011.05.10 12:44:31 Mail: 451 Invalid Smtp line – Should end with CRLF

(My configuration – I havent had this issue sending email before from my mt4 platform: smtp.att.yahoo.com: 587). Please advise as I’m not sure what the CRLF means. Thanks!

Share this article

Leave a comment