How can i setup SES with appwrite
I have checked the creds. They work fine. I can send Emails using Node js
import { createTransport } from "nodemailer";
const trans = createTransport({
host: "email-smtp.us-east-1.amazonaws.com",
port: 2465, // Port for SMTP
secure: true,
auth: {
user: "some", // Your SMTP username provided by SES
pass: "sdhd", // Your SMTP password provided by SES
},
});
const mailOptions = {
from: "test@test.com", // Sender's email address
to: "recipient@test.com", // Recipient's email address
subject: "Test Email", // Subject line
text: "This is a test email sent using Amazon SES SMTP credentials in Node.js.", // Plain text body
};
trans.sendMail(mailOptions, (error, info) => {
if (error) {
console.error("Error occurred:", error.message);
return;
}
console.log("Email sent successfully:", info.response);
});
But when i add the same Creds in appwrite. and run Appwrite doctor.
I get this
[Connectivity]
๐ข Console.DB(console)...............................connected
๐ข Projects.DB(database_db_main).....................connected
๐ข Cache(cache_redis_main)...........................connected
๐ข Queue(queue)......................................connected
๐ข PubSub(pubsub)....................................connected
Deprecated: Implicit conversion from float 0.2 to int loses precision in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 196
[Volumes]
๐ด SMTP...........................................disconnected
๐ข Uploads Volume is readable
๐ข Uploads Volume is writeable
๐ข Cache Volume is readable
๐ข Cache Volume is writeable
๐ข Config Volume is readable
๐ข Config Volume is writeable
๐ข Certs Volume is readable
๐ข Certs Volume is writeable
And also tried to add it as a email provider. but i get error there also.
Failed sending to target test@gmail.com with error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
More info. I am using Appwrite Version 1.5.3
Any help would be appreciated
Recommended threads
- script "build" was terminated by signal ...
Heyo, For some reason, my Next.js 16.0.10 version does not build properly. Here is the last logs: ``` 1063 packages installed [22.54s] $ next build โ No build...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...