i am trying send email using web2py with gmail and using smtp setting i have attached all code

前端 未结 4 663
别那么骄傲
别那么骄傲 2021-01-27 09:04

i am trying to create a form in web2py which sends message to an email account on submission mainly i used SQLFORM.factory to create the form then i used gluon.tools import mai

4条回答
  •  我在风中等你
    2021-01-27 09:29

    I got the email to work with gmail with the modification of this setting:

    mail.settings.server = 'smtp.gmail.com'
    

提交回复
热议问题