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 ()
print ''
print '<a href="{0}">Go back to the portal</a>'.format(redirect_to)
-connstring = 'dbname=hcoop_portal3test user=hcoop host=postgres port=5433'
+connstring = 'dbname=hcoop_portal3 user=hcoop host=postgres port=5433'
def hcoop_stripe_init ():
cgitb.enable()