Problem/Motivation

After changes to the views_send_deliver method in 2.0.0 the MIME structure is now corrupted/malformed.

Issue fork views_send-3569582

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

shacky7 created an issue. See original summary.

hansfn’s picture

Assigned: Unassigned » hansfn

Sorry, the change was not tested with attachements or mime mail at all. Will make a follow-up release fixing the param/attachment stuff. (Reverting is not an option.)

hansfn’s picture

Title: Mimemail multipart invalid encoding » Mime mail broken
Issue summary: View changes
hansfn’s picture

hansfn’s picture

The suggest fix by @alex.bukach in #3506182: Mail not sent because of missing "send" key in message array was 100% correct. Sorry for breaking your MR, Alex.

We have to use \Drupal::service('plugin.manager.mail')->getInstance(..) since the message is already formatted / composed with \Drupal::service('plugin.manager.mail')->mail() in the "_views_send_prepare_mail" function.

MR coming up.

  • hansfn committed 614296d4 on 2.0.x
    fix: #3569582 Mime mail broken
    
    By: hansfn
    By: alex.bukach
    
hansfn’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.