JBHF commited on
Commit
8e061c9
1 Parent(s): 6a0b10f

Update app.py

Browse files

UPDATE 23-10-2024: SEND EMAIL USING SENDGRID API

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1263,7 +1263,8 @@ with tab1:
1263
  from_email='[email protected]',
1264
  to_emails='[email protected]', # to_emails='[email protected]',
1265
  subject='Sending email from source NONTOXICGLAZEADVISOR APP ON HF SPACES with Twilio SendGrid',
1266
- html_content='<strong>JB: DEZE EMAIL IS VERSTUURD VANUITDE NONTOXICGLAZEADVISOR APP ON HF SPACES VAN [email protected] NAAR [email protected] OP 23-10-2024 om 16:51 CET</strong>')
 
1267
 
1268
 
1269
  try:
 
1263
  from_email='[email protected]',
1264
  to_emails='[email protected]', # to_emails='[email protected]',
1265
  subject='Sending email from source NONTOXICGLAZEADVISOR APP ON HF SPACES with Twilio SendGrid',
1266
+ # html_content='<strong>JB: DEZE EMAIL IS VERSTUURD VANUIT DE NONTOXICGLAZEADVISOR APP ON HF SPACES VAN [email protected] NAAR [email protected] OP 23-10-2024 om 16:51 CET</strong>')
1267
+ html_content=st.session_state.messages & '\n\n' & '<strong>JB: DEZE EMAIL IS VERSTUURD VANUIT DE NONTOXICGLAZEADVISOR APP ON HF SPACES VAN [email protected] NAAR [email protected] OP 23-10-2024 om 16:51 CET</strong>')
1268
 
1269
 
1270
  try: