Jump to content

Recommended Posts

Posted

Hello everybody, I'm trying to send mails from my script and it works, but the problem is when I try to send an email from a new location I got an error related to less safe apps of gmail, I enabled it but I'm planning to let the users send emails with files, I tried blat but couldn't understand how it works, and I was looking for a free smtp, any ideas? My objective is allow users send me files, I was thinking let users type their gmail accounts with password but most of users wouldn't trust, any suggestions? or is there a way to allow gmail work in all locations?

  • Developers
Posted (edited)

.. or use the __InetSmtpMailCom() UDF available in Examples when you want to use Gmail without having outlook. :)

Jos

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

if I use that function won't I get the error from gmail about less secure locations or something like that, when you log in in a new location?

  • Developers
Posted

The warnings are from the Goggle Side, not the Clients side, so that is controlled in Google.
When you have two factor authentication enabled, you need to generate a separate password for this batch process, which can be done in your gmail config.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I want to allow users send me files by email, I will provide in the script a file and password, but you know locations will be different from each user and gmail blocks new atempts to log in from new locations, this script skips this protection? I don't think any script will do it, I'm thinking about using a service like www.transfer.sh but the same problem pops up because I need a mail to be notified

Posted

Thanks, I'll work in the script right now and tomorrow when I reach a new computer I'll try it because I'm able to send mails from my computer but unable to send from new computers. Thanks both

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...