I am writing some Java code to send an email out.
I don't want to use authentication, so I wrote:
But, my question is, how can I configure my account on the mail server in a way that it does not require authentication? Because every email must have password.
I am using smtp.gmail for sending.
That's a question about the server, right? So you would at least have to tell us the name of the server. And I would expect the server to come with documentation to tell the administrator how to do things like that.
(Yes, that would be an administrator function. You don't want users giving themselves uncontrolled access to your server.)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32769
posted
0
Gmail can't be used without authentication, period.
Paul Clapham wrote:That's a question about the server, right? So you would at least have to tell us the name of the server. And I would expect the server to come with documentation to tell the administrator how to do things like that.
(Yes, that would be an administrator function. You don't want users giving themselves uncontrolled access to your server.)