furt/scripts/manual_mail_test.sh

19 lines
514 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# Manual SMTP test with corrected JSON
echo "Testing SMTP with corrected JSON..."
# Simple test without timestamp embedding
curl -X POST http://127.0.0.1:7811/v1/mail/send \
-H "Content-Type: application/json" \
-d '{
"name": "Furt Test User",
"email": "admin@example.com",
"subject": "Furt SMTP Test Success!",
"message": "This is a test email from Furt Lua HTTP-Server. SMTP Integration working!"
}'
echo ""
echo "Check response above for success:true"