-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the library
Description
Issue Summary
.add_header() cannot be used because python raises a TypeError exception.
Steps to Reproduce
- Create an instance of Mail
mail = Mail( Email(from_email), subject, Email(to_emails), Content('text/html', message) ) - Add a header to the instance
mail.add_header( {'Reply-To' : 'user@server.ext, user@server.ext'} ) - Send the Request
response = sg.client.mail.send.post(request_body=mail.get())
Stack Trace
File "mail.py", line 63, in get
headers.update(key**.get()**)
TypeError: get expected at least 1 arguments, got 0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: help wantedrequesting help from the communityrequesting help from the communitytype: bugbug in the librarybug in the library