direct send end with ajax error: Invalid address: You must provide at least one recipient email address.

Created on 29 May 2020, almost 5 years ago
Updated 18 October 2023, over 1 year ago

firstly: thank you for a nice module!

If I keep the "Send the message directly using the Batch API" option checked
I'm getting and ajax error from the batch processing (screenshot included)

it seems to me that it is caused by double quoting of the recipients name,
as a workaround I do:
$display_name = str_replace('"', '', $display_name);
just after
$display_name = $encode ? Mail::formatDisplayName($name) : $name;
in `views_send.module`

however on the confirmation form I do see the "To" list formatted alright, so it is a bit mystery to me,
not to mention that dpm() calls do strip the email for me probably as it is surrounded by the angle brackets so I'm quite confused what is actually going on :(

I'm on D8.8.4
take care
Jan

🐛 Bug report
Status

Closed: outdated

Version

1.5

Component

Code

Created by

🇨🇿Czech Republic jan.ptacek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024