J
Jack Andersson
I have written a small app that sends a mail, however when I receive the
mail the Created by-field contains information that shoudn't be there.
The code for the reply address is:
InternetAddress reply[] = new InternetAddress[1];
reply[0] = new InternetAddress("support");
However, when I receive the mail that the app has sent to med the Created By
(i e the reply to-address as I understand it) is
"support".GWIATA.OurCompanyDomain
When I try the following:
InternetAddress reply[] = new InternetAddress[1];
reply[0] = new InternetAddress("(e-mail address removed)");
the Created By-field becomes:
"(e-mail address removed)"(e-mail address removed)
Why is this? Is it a matter of configuration on the mail server? Or do I
have to set some kind of property before sending mail?
mail the Created by-field contains information that shoudn't be there.
The code for the reply address is:
InternetAddress reply[] = new InternetAddress[1];
reply[0] = new InternetAddress("support");
However, when I receive the mail that the app has sent to med the Created By
(i e the reply to-address as I understand it) is
"support".GWIATA.OurCompanyDomain
When I try the following:
InternetAddress reply[] = new InternetAddress[1];
reply[0] = new InternetAddress("(e-mail address removed)");
the Created By-field becomes:
"(e-mail address removed)"(e-mail address removed)
Why is this? Is it a matter of configuration on the mail server? Or do I
have to set some kind of property before sending mail?