dschmidt / billo Goto Github PK
View Code? Open in Web Editor NEWSimple tool for hosting static mailing lists on regular webhosting accounts
Simple tool for hosting static mailing lists on regular webhosting accounts
If I send an email in plaintext from rainloop (webailer) e.g. the content is transfer-encoded "quoted-printable".
If that mail is forwarded to the listmembers the encoding changes to 8bit, therefore the qp-escape symbols appear as characters.
Maybe we have to take the given transfer-encoding into account to force it in the further delivery?
What happens is:
The message
1
2
ΓΌ
Γ
becomes
=0A1=0A2=0A=C3=BC=0A=C3=9F
We should consider removing the mailing list name from the subject and instead set proper headers (or make that configurable at least):
for further reference we can collect some links to best practices here.
Starting with:
https://liw.fi/listfaq/
Webhosting providers might limit the emails sent in a certain timeframe.
Trivial solution:
Have a configurable number of emails being allowed to sent, tracked by a counter file that can be cleared by a second cronjob.
Nice to have:
When mail cannot be sent right now because of the limit, send a message back to poster informing them about the delay.
It could become useful to preserve more headers than the MIME ones.
In that case we have to refactor the overwritten getMailMIME()
method with the createHeader()
method and add the desired headers accordingly.
A proven Script to extrat those header could be:
const FIELDS = ['date','mime-version','contentType','contentTransferEncoding'];
foreach( FIELDS as $field){
try {
$header[$message->getHeaders()->get($field)->getFieldName()] = $message->getHeaders()->get($field)->getFieldValue();
} catch (Error $e) {
echo "Field \"" . $field . "\" is not defined." . PHP_EOL;
}
$mailSender->setBilloHeader($header);
Just a thought into the wild. I'd like to use this tool for mass invitations where every recipient gets his personalized attachment. (A prefilled invitation with further informations depending on the target group)
It should be possible to extend the configuration file by a section "recipients_attachments" with a permutation of recipients and a list of prefixes, so that every attachment that meets these propertise is forwarded to the particular reciepent. Or even more mature, get those files from the server to prevent transport issues with too much attachments.
Manualy these tasks keep me busy for at least two days, and it's so dumb that it should be perfectly automatable.
Summary:
Mails sent by thunderbird are missing the first line of text in the body.
Steps to Reproduce:
Write and send a mail to the imap inbox of a billo list using thunderbird (68.8.0 (64-bit))
Expected Results:
The complete message should be delivered to the list member
Actual Results:
The delivered mail is missing the first line of text. (In thunderbird as well as webmail e.g.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.