Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -551,10 +551,10 @@ def test_email():
|
|
| 551 |
res3 = send_email("nharingosheperd+test@gmail.com", "API Test 3 (Modified)", "<p>This is a test.</p>")
|
| 552 |
status3 = "Success" if res3 else "Failed"
|
| 553 |
|
| 554 |
-
# Test case
|
| 555 |
-
logger.info("TEST
|
| 556 |
-
|
| 557 |
-
|
| 558 |
|
| 559 |
logger.info("--- FINISHED EMAIL TEST ---")
|
| 560 |
|
|
|
|
| 551 |
res3 = send_email("nharingosheperd+test@gmail.com", "API Test 3 (Modified)", "<p>This is a test.</p>")
|
| 552 |
status3 = "Success" if res3 else "Failed"
|
| 553 |
|
| 554 |
+
# Test case 4: The modified email to bypass a simple string filter
|
| 555 |
+
logger.info("TEST 4: Sending to a modified version of the failing address...")
|
| 556 |
+
res4 = send_email("initiumzim@gmail.com", "API Test 4 (Modified)", "<p>This is a test.</p>")
|
| 557 |
+
status4 = "Success" if res4 else "Failed"
|
| 558 |
|
| 559 |
logger.info("--- FINISHED EMAIL TEST ---")
|
| 560 |
|