Comments (2)
There is a nod to this issue in that, if multiple bodies are added using --attach-body, multipart/alternative
is used. Essentially the 'body' component of the message is special and can have explicitly set alternative parts. Every other attachment is multipart/mixed
. If this should satisfy your need but isn't working, let me know because it's a bug. Otherwise it's a feature request and I don't have an ETA. This is part of the "how much do I want to be a test tool specifically for SMTP and how much do I want to be an easy, command line MUA" argument I'm having with myself over the future of swaks
from swaks.
if multiple bodies are added using --attach-body,
multipart/alternative
is used.
Ah, my version of swaks (20181104.0) does not have --attach-body
. Looks like that came around 2020 — sorry for not checking latest!
I tried it, and it does work as advertised. I was able to create the mail I originally wanted with:
$ swaks --to $USER@localhost --attach-type text/plain --attach-body @mail.txt --attach-type text/html --attach-body @mail.html
Otherwise it's a feature request and I don't have an ETA. This is part of the "how much do I want to be a test tool specifically for SMTP and how much do I want to be an easy, command line MUA" argument I'm having with myself over the future of swaks
Understood (:
I do find myself using it for reason # 2 most often, but I know feature creep's a pain.
from swaks.
Related Issues (20)
- ETA for a new release? HOT 1
- add --tls-get-peer-chain
- Why does smtp-server.pl return the same cert multiple times
- Add option to always look up and use the hostname of the public IP HOT 2
- do away with the verification callback for tls certs HOT 1
- [Help] attaching images inline body using --attach-body HOT 3
- DKIM signing
- enhance TLS cert debugging
- create smtp smuggling recipe
- docs: "Rendered" `base.pod` has been broken since Jan 2017 HOT 4
- weird command expansion in bash HOT 2
- "--tls-protocol tlsv1" fails after upgrade to FreeBSD 14.0 HOT 7
- misleading phrasing about lack of SPF/DMARC support HOT 1
- Add support for the optional <initial-reponse> argument to the AUTH LOGIN command HOT 3
- SMTPUTF8 error with Postfix HOT 1
- Verbosity (Log Level) or anything to make swaks quiter. HOT 2
- add proper SMTPUTF8 handling for MUA mode
- standardize references to RFCs in the docs
- [help] using tested working example in .swaksrc HOT 2
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 swaks.