Comments (6)
This is known issue and is related to the fact that Nodemailer was initially meant to be used as a SMTP client. Sendmail and Amazon SES support were added later ad hoc. There is a way to use local SMTP settings which override global ones but no way to do this with sendmail or SES.
{
from: "[email protected]",
to: "[email protected]",
subject: "subject line",
text: "message body",
server:{
host:"localhost",
// server settings to follow
}
}
from nodemailer.
So what is the future for this issue? Will it be fixed in the next version?
Would like us to work on improving this in our fork for you take a look at?
On 23 September 2011 11:08, Andris Reinman
[email protected]
wrote:
This is known issue and is related to the fact that Nodemailer was initially meant to be used as a SMTP client. Sendmail and Amazon SES support were added later ad hoc. There is a way to use local SMTP settings which override global ones but no way to do this with sendmail or SES.
{
from: "[email protected]",
to: "[email protected]",
subject: "subject line",
text: "message body",
server:{
host:"localhost",
// server settings to follow
}
}Reply to this email directly or view it on GitHub:
https://github.com/andris9/Nodemailer/issues/45#issuecomment-2177144
[email protected]
Chief Technology Officer
Direct: +44 2030 516115
Mobile: +44 7881 550999
Conference: +44 20 3051 6144
Clock Limited
The Old School House
Bridge Road, Hunton Bridge,
Kings Langley, WD4 8RQ
Switchboard: +44 1923 261166
http://twitter.com/clock
http://blog.clock.co.uk/
http://delicious.com/clocklimited
www.clock.co.uk/email-disclaimer
clock.® is a Registered Trademark of Clock Limited in the European
Community and other territories
from nodemailer.
I don't have any good ideas regarding this problem, so you're welcome to fix it and send me a pull request. The only condition being that it shouldn't break existing code.
from nodemailer.
Okay we'll take a look and send you a pull request.
It will break existing code in the rare edge case where people are
exploiting the global nodemailer.sendmail to change the transport
globally. Even though that is a weird use-case, you could wait until
you go to 0.3.0 to fix the problem.
Paul
On 26 September 2011 11:32, Andris Reinman
[email protected]
wrote:
I don't have any good ideas regarding this problem, so you're welcome to fix it and send me a pull request. The only condition being that it shouldn't break existing code.
Reply to this email directly or view it on GitHub:
https://github.com/andris9/Nodemailer/issues/45#issuecomment-2196803
[email protected]
Chief Technology Officer
Direct: +44 2030 516115
Mobile: +44 7881 550999
Conference: +44 20 3051 6144
Clock Limited
The Old School House
Bridge Road, Hunton Bridge,
Kings Langley, WD4 8RQ
Switchboard: +44 1923 261166
http://twitter.com/clock
http://blog.clock.co.uk/
http://delicious.com/clocklimited
www.clock.co.uk/email-disclaimer
clock.® is a Registered Trademark of Clock Limited in the European
Community and other territories
from nodemailer.
The new v0.3 branch doesn't use global settings anymore but dedicated "transport" objects
from nodemailer.
Nice.
from nodemailer.
Related Issues (20)
- Not working on serverless edge functions HOT 7
- Unable to use with Brevo(aka send in blue) | Nextjs 14 HOT 1
- Sonatype reports 6.9.9 as vulnerable due to resolveContent() function of the lib/shared/index.js file HOT 1
- Sending mail using nodemailer is slower HOT 3
- ReDoS when try to send a specially crafted email HOT 2
- Connection Refused on CPanel HOT 2
- Can't handle ReadableStream from fetch as attachment HOT 1
- Double quotes being removed from headers with single quotes, leading to rejections HOT 3
- npm attestation broken as of 6.9.11 HOT 6
- Showing Error instead of Log -- >> [Nest] 11912 - 21/03/2024, 12:06:03 pm ERROR [MailerService] Transporter is ready HOT 3
- MIME: GeoJSON mapping HOT 4
- Unhandled error crashes the process within transport.verify() HOT 3
- StreamTransport issues new lines as CRLF despite setting "unix" newline HOT 4
- Core dump on OpenBSD after 7.5 upgrade HOT 1
- Missing credentials for "PLAIN" HOT 4
- I having trouble with import nodemailer from 'nodemailer' HOT 6
- s
- Nodemailer - Cannot send message - smtp connection socket is already destroyed. HOT 4
- Emails sent with iCloud email in the 'from' field not reaching the inbox HOT 3
- Hostname/IP does not match certificate's altnames but certification is correct. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodemailer.