Title: TypeError: a bytes-like object is required, not 'str' (smtp_sen_email) · Issue #7 · sendpulse/sendpulse-rest-api-python · GitHub
Open Graph Title: TypeError: a bytes-like object is required, not 'str' (smtp_sen_email) · Issue #7 · sendpulse/sendpulse-rest-api-python
X Title: TypeError: a bytes-like object is required, not 'str' (smtp_sen_email) · Issue #7 · sendpulse/sendpulse-rest-api-python
Description: While running sendpulse-rest-api-example.py got an error INFO [2018-08-21 10:51:01,895] Function call: smtp_send_mail Traceback (most recent call last): File "sendpulse-rest-api-example.py", line 111, in SPApiProxy.smtp_send_mail(email) ...
Open Graph Description: While running sendpulse-rest-api-example.py got an error INFO [2018-08-21 10:51:01,895] Function call: smtp_send_mail Traceback (most recent call last): File "sendpulse-rest-api-example.py", line 1...
X Description: While running sendpulse-rest-api-example.py got an error INFO [2018-08-21 10:51:01,895] Function call: smtp_send_mail Traceback (most recent call last): File "sendpulse-rest-api-example.py&quo...
Opengraph URL: https://github.com/sendpulse/sendpulse-rest-api-python/issues/7
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: a bytes-like object is required, not 'str' (smtp_sen_email)","articleBody":"While running sendpulse-rest-api-example.py got an error\r\n\r\nINFO [2018-08-21 10:51:01,895] Function call: smtp_send_mail\r\nTraceback (most recent call last):\r\n File \"sendpulse-rest-api-example.py\", line 111, in \u003cmodule>\r\n SPApiProxy.smtp_send_mail(email)\r\n File \"/home/...../pysendpulse.py\", line 639, in smtp_send_mail\r\n email['html'] = base64.b64encode(email.get('html'))\r\n File \"/usr/lib/python3.6/base64.py\", line 58, in b64encode\r\n encoded = binascii.b2a_base64(s, newline=False)\r\nTypeError: a bytes-like object is required, not 'str'\r\n","author":{"url":"https://github.com/ssemenukha","@type":"Person","name":"ssemenukha"},"datePublished":"2018-08-21T07:52:58Z","url":"https://github.com/sendpulse/sendpulse-rest-api-python/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bb543e41-ae3a-d95a-fcc4-f467666d8814 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1F4:16A692:4963E:6247C:6B04DDCF |
| html-safe-nonce | 7bf46e2fd8eed1bf55136acc36ace6d1e47213199abee8a86d91c54b576df9a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUY0OjE2QTY5Mjo0OTYzRTo2MjQ3Qzo2QjA0RERDRiIsInZpc2l0b3JfaWQiOiI5OTA5ODIwMTA3NzQ1NDM4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e16611b252d014503339877914c2697c752bde57008d8c79ad4404ac716a7b79 |
| hovercard-subject-tag | issue:352424429 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sendpulse/sendpulse-rest-api-python/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/01e2ce4dda5990e2ecf7874cd0123223708774ac7e9835a2b2dc9b820732994d/sendpulse/sendpulse-rest-api-python/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01e2ce4dda5990e2ecf7874cd0123223708774ac7e9835a2b2dc9b820732994d/sendpulse/sendpulse-rest-api-python/issues/7 |
| og:image:alt | While running sendpulse-rest-api-example.py got an error INFO [2018-08-21 10:51:01,895] Function call: smtp_send_mail Traceback (most recent call last): File "sendpulse-rest-api-example.py", line 1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ssemenukha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| turbo-cache-control | no-preview |
| go-import | github.com/sendpulse/sendpulse-rest-api-python git https://github.com/sendpulse/sendpulse-rest-api-python.git |
| octolytics-dimension-user_id | 12495451 |
| octolytics-dimension-user_login | sendpulse |
| octolytics-dimension-repository_id | 43807118 |
| octolytics-dimension-repository_nwo | sendpulse/sendpulse-rest-api-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43807118 |
| octolytics-dimension-repository_network_root_nwo | sendpulse/sendpulse-rest-api-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width