{"id":13634200,"url":"https://github.com/pallets-eco/flask-mail","last_synced_at":"2025-12-12T01:05:19.129Z","repository":{"id":52656535,"uuid":"3583557","full_name":"pallets-eco/flask-mail","owner":"pallets-eco","description":"Flask-Mail adds SMTP mail sending to your Flask applications","archived":false,"fork":false,"pushed_at":"2025-03-06T03:37:45.000Z","size":370,"stargazers_count":632,"open_issues_count":19,"forks_count":172,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-05-06T15:49:59.233Z","etag":null,"topics":["email","flask","flask-mail","pallets","pallets-eco","python","smtp"],"latest_commit_sha":null,"homepage":"https://flask-mail.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pallets-eco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"pallets","custom":"https://palletsprojects.com/donate","tidelift":"pypi/Flask"}},"created_at":"2012-02-29T16:39:29.000Z","updated_at":"2025-05-02T02:22:10.000Z","dependencies_parsed_at":"2024-01-17T03:15:17.645Z","dependency_job_id":"48bf322d-f6f1-48cb-a384-04e5ec95a79c","html_url":"https://github.com/pallets-eco/flask-mail","commit_stats":{"total_commits":225,"total_committers":40,"mean_commits":5.625,"dds":0.64,"last_synced_commit":"9fac58a85f6ee14ded00afeed2f4ad7b0ea7fb3b"},"previous_names":["pallets-eco/flask-mail","mattupstate/flask-mail"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pallets-eco","download_url":"https://codeload.github.com/pallets-eco/flask-mail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253463617,"owners_count":21912858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","flask","flask-mail","pallets","pallets-eco","python","smtp"],"created_at":"2024-08-01T23:00:58.835Z","updated_at":"2025-12-12T01:05:19.084Z","avatar_url":"https://github.com/pallets-eco.png","language":"Python","readme":"# Flask-Mail\n\nFlask-Mail is an extension for [Flask] that makes it easy to send emails from\nyour application. It simplifies the process of integrating email functionality,\nallowing you to focus on building great features for your application.\n\n[flask]: https://flask.palletsprojects.com\n\n\n## Pallets Community Ecosystem\n\n\u003e [!IMPORTANT]\\\n\u003e This project is part of the Pallets Community Ecosystem. Pallets is the open\n\u003e source organization that maintains Flask; Pallets-Eco enables community\n\u003e maintenance of related projects. If you are interested in helping maintain\n\u003e this project, please reach out on [the Pallets Discord server][discord].\n\n[discord]: https://discord.gg/pallets\n\n\n## A Simple Example\n\n```python\nfrom flask import Flask\nfrom flask_mail import Mail, Message\n\napp = Flask(__name__)\napp.config['MAIL_SERVER'] = 'your_mail_server'\napp.config['MAIL_PORT'] = 587\napp.config['MAIL_USE_TLS'] = True\napp.config['MAIL_USE_SSL'] = False\napp.config['MAIL_USERNAME'] = 'your_username'\napp.config['MAIL_PASSWORD'] = 'your_password'\napp.config['MAIL_DEFAULT_SENDER'] = 'your_email@example.com'\n\nmail = Mail(app)\n\n@app.route('/')\ndef send_email():\n  msg = Message(\n    'Hello',\n    recipients=['recipient@example.com'],\n    body='This is a test email sent from Flask-Mail!'\n  )\n  mail.send(msg)\n  return 'Email sent succesfully!'\n```\n","funding_links":["https://github.com/sponsors/pallets","https://palletsprojects.com/donate","https://tidelift.com/funding/github/pypi/Flask"],"categories":["Email"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fflask-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpallets-eco%2Fflask-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fflask-mail/lists"}