Skip to content

AttributeError: module 'yagmail' has no attribute 'SMTP' #283

@cheraghiam

Description

@cheraghiam

When trying to initialize the SMTP client using yagmail.SMTP(), I receive the following error:

AttributeError: module 'yagmail' has no attribute 'SMTP'

This occurs even though there is no local file named yagmail.py, email.py, or smtplib.py causing a circular import.
The library was installed via pip, and the issue persists after reinstalling.

Any clarification on whether this is a bug, an API change, or a version-related issue would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions