Giter Site home page Giter Site logo

billo's People

Contributors

dschmidt avatar haelge avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

derbronko haelge

billo's Issues

Set encodings and charsets properly (watch for PHPMailer defaults)

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

Throttling

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.

Preserve more headers from mailStorage

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);

Provide recipient dependant attachments

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.

Mails sent by Thunderbird have clipped bodies

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.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.