In this video, learn how to use Gmail as your personal email server. First, set up a new Gmail account and configure the required settings. Then, email your HTML weather data report using Gmail.
- [Instructor] Next we will be emailing the HTML via Gmail,…and in order to use Gmail as our emailing server,…we have to follow a few steps to set it up.…And that's what we're going to be doing now.…We'll be importing the smtplib from Python,…and we'll call the smtp message and we're passing…in the URL smtp.gmail.com and the port is 587.…
But this by itself as our emailing server…will not work unless we allow access for…less secure access within Gmail and also we have…to have a Gmail account and most of the…time we have to be logged into the account on the web.…It is a good idea to create a new Gmail account…and when we then allow access for less secure apps,…this setting will only affect that particular Gmail account,…it won't affect the other Gmail accounts you might have.…
So there are two URLs where we can set that.…And most of them are not quite intuitive,…so we're going to look at them next.…We have to be logged into our Gmail account…and then we can copy and past this URL into the browser.…And this brings us to this page, less secure apps.…
Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Running Python programs within Eclipse
- Setting breakpoints
- Using the PyDev debugger
- Using design patterns
- Creating a GUI application with Tkinter
- Writing a Windows scheduling service