On 26/02/2021 19.09, Sergei Sokov wrote:
This code works on my local server, but doesnt work on the hosting. What
could be the problem?
Hard to tell. You're explicitly throwing away any relevant information
by using a catch-all exception handler.
Do any of your "an error happened" messages
This code works on my local server, but doesnt work on the hosting. What
could be the problem?
import _thread
def email_index(*args):
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login('k...@gmail.com', 'pas')
try:
server.sendmail('k...@gmail.com
2 matches
Mail list logo