luis713 Posted July 26, 2018 Share Posted July 26, 2018 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? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 26, 2018 Share Posted July 26, 2018 (edited) Hi @luis713 Did you already take a look at Outlook UDF or at this post? Edited July 26, 2018 by FrancescoDiMuro luis713 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Developers Jos Posted July 26, 2018 Developers Share Posted July 26, 2018 (edited) .. or use the __InetSmtpMailCom() UDF available in Examples when you want to use Gmail without having outlook. Jos Edited July 26, 2018 by Jos luis713 1 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. Link to comment Share on other sites More sharing options...
luis713 Posted July 26, 2018 Author Share Posted July 26, 2018 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? Link to comment Share on other sites More sharing options...
Developers Jos Posted July 26, 2018 Developers Share Posted July 26, 2018 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 luis713 1 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. Link to comment Share on other sites More sharing options...
luis713 Posted July 26, 2018 Author Share Posted July 26, 2018 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 Link to comment Share on other sites More sharing options...
luis713 Posted July 26, 2018 Author Share Posted July 26, 2018 can you provide me a link please Jos about it? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 26, 2018 Share Posted July 26, 2018 @luis713 The link is right here Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
luis713 Posted July 26, 2018 Author Share Posted July 26, 2018 thanks @FrancescoDiMuro but the link redirects to this post, could you fix it please? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 26, 2018 Share Posted July 26, 2018 @luis713 It is linking to this thread because Jos already pointed you out to the UDF he was talking about. By the way, here you have the SMTP Mailer UDF that Jos was mentioning above Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
luis713 Posted July 26, 2018 Author Share Posted July 26, 2018 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now