Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9043591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T10:45:59+00:00 2026-06-16T10:45:59+00:00

I don’t know what should be the appropriate title for that question , but

  • 0

I don’t know what should be the appropriate title for that question , but summary of my question is below.

I am developing an android app where user have to email on various email id’s of different mail server in just 1 click. Now , my application design is like when user click to send mail’s . first , the query of user will hit my web service that is running on remote server.This web service will send emails on different id’s of different server.
And i have tried java mail API using ssl, but to send mails , we have to pass username and password both as parameters.
Now , my question is should I save password of different user on my web server.Because I think this will be security breach for user.
And i think we can not send mail without password using java mail API.if yes, than how?
I’ve also heard about open id , but it is just for authentication i think.Or may I use open id concept for sending mail also without storing password.If yes than how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T10:46:00+00:00Added an answer on June 16, 2026 at 10:46 am

    There area couple of concepts that may help you to identify what you can and what you can’t do …

    SMTP current situation

    Nowadays all SMTP servers (these are the servers that receive and deliver the emails) used the ESMTP standard and require user authentication. The reason for this, is to avoid the usage of these servers to send spam on user behalf.

    What can you do

    So, as starting point, to have access to a trusted email server, you need valid user credentials.

    You have two main options:

    1. Use your own email account, with your credentials and set the fields replyTo and sentFrom to the user email account. The final result may depend on the email provider and email client used by the person receiving the email, as some of them may classify the message as spam.

    2. Use the user own credentials. You say in your question that user starts by connecting to your server, so you can request the user login and password by then and you don’t need to store it in your server. To avoid user typing the password everytime, the user enters the login and password in your app just once, you store it localy (preferably encrypted), and the credentials are sent everytime (again preferably encrypted), user connects to your server to send the email.

    With any of the above approachs you are reducing the risk of disclosing the user mail credentials.

    Regards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't really know how to formulate the title, but it should be pretty obvious
don't know better title for this, but here's my code. I have class user
don't know if the title describes anything about what I'm trying to say but
Don't know a better title but here is what im trying to do. I
Don't know if I worded the question right, but basically what I want to
Don't know how to google for such, but is there a way to query
Don't know why but font is not displaying.Please help. CSS(in css folder): style.css: @font-face
I don't know why, but this code worked for me a month ago... maybe
Don't know whats exactly going on, but it's definitely killing my time for nothing.
Don't know if this is the right place to ask this, but I will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.