fracapuano commited on
Commit
bc4fd09
1 Parent(s): 55349d3

fix: smtp port and sender

Browse files
Files changed (1) hide show
  1. mailing/mailing.py +2 -2
mailing/mailing.py CHANGED
@@ -8,8 +8,8 @@ def mailing_main(subject:Text, body:Text, to_address:Union[Text, Iterable[Text]]
8
  """Sends the email with the given subject and body to the given address (accepts also list of addresses)."""
9
  # Mailing server configuration
10
  smtp_server = 'smtp.gmail.com.'
11
- smtp_port = 465
12
- sender_email = 'bainhackathon@example.com'
13
  sender_password = 'onyghfffdbmurjdf'
14
 
15
  # This creates the actual email message
 
8
  """Sends the email with the given subject and body to the given address (accepts also list of addresses)."""
9
  # Mailing server configuration
10
  smtp_server = 'smtp.gmail.com.'
11
+ smtp_port = 587
12
+ sender_email = 'bainhackathon@gmail.com'
13
  sender_password = 'onyghfffdbmurjdf'
14
 
15
  # This creates the actual email message