Facing issues in mailer

19 views
Skip to first unread message

vinu KR

unread,
Aug 17, 2025, 9:10:34 PMAug 17
to py4web
  Could you please figure out my mistake

File "D:\Phishing\py4web\my_py4web_project\apps\x\controllers.py", line 7, in <module>
    from py4web.utils.mail import Mail
ModuleNotFoundError: No module named 'py4web.utils.mail'

jonatha...@whatho.net

unread,
Aug 18, 2025, 10:45:03 AMAug 18
to py4web
Are you looking for  'py4web.utils.mailer'?

In the _scaffold app the common.py and settings.py import the mailer and set the settings for it. I use it for Amazon SES which is ridiculously cheap for my low volumes, but I have used it for gmail (free) in the past.
Reply all
Reply to author
Forward
0 new messages