HCoop
/
hcoop
/
portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db9e12
)
stripe: send mail using mail-ipv4.hcoop.net
author
Clinton Ebadi
<clinton@hcoop.net>
Fri, 30 Nov 2018 03:30:32 +0000
(22:30 -0500)
committer
Clinton Ebadi
<clinton@hcoop.net>
Fri, 30 Nov 2018 03:30:32 +0000
(22:30 -0500)
Digital Ocean is obnoxious and we can't send anything to
mail.hcoop.net on-site due to outgoing SMTP being blocked over IPv6.
stripe/hcoopstripe.py
patch
|
blob
|
blame
|
history
diff --git
a/stripe/hcoopstripe.py
b/stripe/hcoopstripe.py
index
b0ac66f
..
958e0ac
100644
(file)
--- a/
stripe/hcoopstripe.py
+++ b/
stripe/hcoopstripe.py
@@
-23,7
+23,7
@@
page at your earliest convenience to process the payment.
msg['From'] = 'payment@hcoop.net'
msg['To'] = 'payment@hcoop.net'
- s = smtplib.SMTP ('mail.hcoop.net')
+ s = smtplib.SMTP ('mail
-ipv4
.hcoop.net')
s.sendmail ('payment@hcoop.net', ['payment@hcoop.net'], msg.as_string ())
s.quit ()