19 lines
523 B
Bash
19 lines
523 B
Bash
|
|
#!/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:8080/v1/mail/send \
|
||
|
|
-H "Content-Type: application/json" \
|
||
|
|
-d '{
|
||
|
|
"name": "Furt Test User",
|
||
|
|
"email": "michael@dragons-at-work.de",
|
||
|
|
"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"
|
||
|
|
|