-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Não estou conseguindo enviar e-mail via o wrapper:
meu código:
from pysendpulse.pysendpulse import PySendPulse
REST_API_ID = ''
REST_API_SECRET = ''
SPApiProxy = PySendPulse(REST_API_ID, REST_API_SECRET)
email = {
'subject': 'Teste send pulse',
'html': '<h1>Hello, John!</h1><p>This is the test task from https://sendpulse.com/api REST API!</p>',
'text': 'Hello, John!\nThis is the test task from https://sendpulse.com/api REST API!',
'from': {'name': 'Caio Sampaio', 'email': '[email protected]'},
'to': [
{'name': 'Caio', 'email': '[email protected]'}
],
}
SPApiProxy.smtp_send_mail(email)
Metadata
Metadata
Assignees
Labels
No labels