Skip to content
  • o@immerda.ch's avatar
    allow setting envelope from in mail() · d3410597
    o@immerda.ch authored
    PHPMailer sets the envelope from via additional_params. Lets whitelist
    a parameter that consists solely of `-femail@domain.com`.
    
    This is using a slightly restricted subset of characters that are valid
     in emails. But doing something more precise there seems like overkill.
    d3410597