Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/Code_Examples/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ We recommend using SendGrid Python, our client library, <a href="https://github.
# using SendGrid's Python Library - https://github.com/sendgrid/sendgrid-python
import sendgrid

sendgrid = sendgrid.SendGridClient(api_user, api_key)
sg = sendgrid.SendGridClient(api_user, api_key)
message = sendgrid.Mail()

message.add_to("[email protected]")
message.set_from("[email protected]")
message.set_subject("Sending with SendGrid is Fun")
message.set_html("and easy to do anywhere, even with Python")

sendgrid.send(message)
sg.send(message)
{% endcodeblock %}