• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending email without authentication

 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

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.

Thanks.
 
Paul Clapham
Sheriff
Pie
Posts: 20719
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gmail can't be used without authentication, period.
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)


Yes, and the server is smtp.gmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic