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

  • Home
  • SEARCH
  • 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 8525087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:52:24+00:00 2026-06-11T07:52:24+00:00

A script is used to send emails (only with Gmail) daily with user interactions.

  • 0

A script is used to send emails (only with Gmail) daily with user interactions. I would like to store their e-mail in hard drive in a plain text file. What is the right way to do it ?

  • I know one method would be to ask a user for a password to protect the e-mail password, but this method is pointless because the user should type in a new password every time an email is sent, so I rather ask their e-mail password instead.

  • Another way would be to encrypt the password and using a key with combination of specific informations to user like computer name+username+system+… and use this same key to decrpyt the encrypted password. The problem with this, that I’m using Autoit which is easy to decompile, so when a potencial attacker got the encrypted password, they could theoretically know the encryption key so doesn’t matter who many uniq information I use for encrypt the password, they could get it anyway.

  • Another way would be to use OAuth for gmail, so the user doesn’t need to type in password at all but I can’t do that.

Any ideas ?

  • 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-11T07:52:25+00:00Added an answer on June 11, 2026 at 7:52 am

    As Eric has mentioned, DPAPI is the way to go if you are using Windows. http://msdn.microsoft.com/en-us/library/ms995355.aspx
    The function CryptProtectData() uses the Windows logon information for that particular user to encrypt the data so that no other user on the system can decyrpt the plain text which you store.

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

Sidebar

Related Questions

I want to make a script that can be used to send messages to
I'm currently writing a Powershell script that's used to select a user from Active
Possible Duplicate: HTML Text Input allow only Numeric input I used this script function
When I used to use cPanel it would send me an email when any
i have an ajax script which is used to set the user location, the
i have used System.Web.Mail.MailMessage to send HTML Formatted message to an email id. The
I'm using PHPMailer in a Simple Script For Send Email's Through Gmail, and I'm
The following script is used to save a file to the desktop: var ba:ByteArray
i used this script to animate some divs with jquery and css. now i
I used this script to create a jQuery accordion. Check out the working jsFiddle

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.