node-sendmail
node-sendmail copied to clipboard
Sending anonymous mail get timed up every time
Hello !
I'm trying to send anonymous mail for application support purpose. It worked a few weeks ago, but, I let it in a test project for a while, came back today and can't make it work anymore, I have no idea why.
Expected Behavior
Should send a mail with a fake email address source
Current Behavior
Instead of sending the mail successfully, I got timed out, whatever is the address email i'm sending it too (tried gmail, hotmail and a custom one)
Possible Solution
Not idea :(
Steps to Reproduce (for bugs)
const sendmail = require("sendmail")();
sendmail(
{
from: "[email protected]",
to: "[email protected]",
subject: "hello",
html: "content ",
},
function (err, reply) {
console.log(err && err.stack);
console.dir(reply);
}
);
That's it, that the code I've tried, I'm pretty sure it workes a few weeks ago, but somehow, it doesn't anymore... I don't know why
Context
I'm trying to send anonymous mail, as a way to send request to a support mail from a javascript application. I cannot use an existing email adress to send mail, since it will be embedded into executable on a lot of computer.
Your Environment
Raw javascript script doesn't even work anymore
Same here, did you find a solution @Psycokwet?
Sadly not, I have other things to deal with, so this got abandonned while waiting for other's inputs, sorry to disapoint you :/ If you find something, please do share ! :) Good luck with it though !
I kind of think this has something to do with anti virus softwares blocking stuff, but, I can't be sure. (i resetted my computer and changed my antivirus software between when I could send anonymous mails, and now that I can't, but, I couldn't unlock the situation, so I can't be certain of the cause)
OK, thanks for the reply. Looks like this project hasn't been maintained for a while now. I've personally fallen back to nodemailer
for now.
It looks like it yes. Did you succeed using nodemailer to send anonymous mails? I tried without success :o
Unfortunately no. Maybe there's a way, though, by properly configuring the sendmail
service and use a sendmail
transport. I personally don't need anonymous email sending for now, just basic email functionality which works with a temporary test account.
I see ! Thank you for your input :)
Yeah, if you don't need anonymous, don't bother with it, it's a pain in javascript it seems. Good luck on your project :)
Thanks, you too :)