Sender address rejected: need fully-qualified address

 

Hello,

I have a provider which use normal smtp and pop server. I have tested smtp successfully with windows live mail and rebol (http://rebol.com) using the parameters below

but with metatrader it doesn't work :

Sender address rejected: need fully-qualified address

mail.sfr.fr

xxx@sfr.fr

pass

xxx,xxx@sfr.fr

yyy,yyy@yahoo.com

Why ?

 
rebtut:

Hello,

I have a provider which use normal smtp and pop server. I have tested smtp successfully with windows live mail and rebol (http://rebol.com) using the parameters below

but with metatrader it doesn't work :

Sender address rejected: need fully-qualified address

mail.sfr.fr

xxx@sfr.fr

pass

xxx,xxx@sfr.fr

yyy,yyy@yahoo.com

Why ?


the answer to your question will give you only your provider where you have the "not fully qualified" adress
 
rebtut:

Hello,


xxx,xxx@sfr.fr

yyy,yyy@yahoo.com

Why ?

what is this: xxx,xxx@sfr.fr ?

This does not look like an email address. email addresses do not have commas in them. You cannot specify names in the from and to fields, only naked email addresses without anything. The desktop email client might be able to recognize them and handle them properly but here we are dealing directly with the SMTP protocol and on this level it does not accept such fancy naming styles, only pure email addresses.

 
7bit:

what is this: xxx,xxx@sfr.fr ?

This does not look like an email address. email addresses do not have commas in them. You cannot specify names in the from and to fields, only naked email addresses without anything. The desktop email client might be able to recognize them and handle them properly but here we are dealing directly with the SMTP protocol and on this level it does not accept such fancy naming styles, only pure email addresses.


Hi thanks I removed and that worked :) I was misleaded by MetaTrader itself which shows that format in field background as well as by the article here

https://www.mql5.com/en/articles/1416

 
rebtut:
Hi thanks I removed and that worked :) I was misleaded by MetaTrader itself which shows that format in field background as well as by the article here

https://www.mql5.com/en/articles/1416

Yes, I have seen this too and don't understand how this could ever work. The only thing that I would not be surprised if it worked (but I have not tested it) would be the following syntax with angle brackets:

John Smith <john.smith@example.com>

like it is defined here http://tools.ietf.org/html/rfc2822#section-3.4 if you have some time you could try this format, it *might* work.

Reason: