InterviewSolution
Saved Bookmarks
| 1. |
Which Class Is Used To Send Email In Web2py Framework? |
|
Answer» In Web2fy FRAMEWORK, gluon.tools.Mail class is used to send EMAIL. The mailer can be defined with this class. from gluon.tools import Mail mail = Mail() mail.settings.server = 'smtp.example.com:25' mail.settings.sender = 'abc@example.com' mail.settings.login = 'username:password' In Web2fy Framework, gluon.tools.Mail class is used to send email. The mailer can be defined with this class. from gluon.tools import Mail mail = Mail() mail.settings.server = 'smtp.example.com:25' mail.settings.sender = 'abc@example.com' mail.settings.login = 'username:password' |
|