powermail icon indicating copy to clipboard operation
powermail copied to clipboard

If there is no sender name in the form, the system default defaultMailFromName is used in "To" field for email to sender

Open sypets opened this issue 1 year ago • 0 comments

Reproduce:

  1. set defaultMailFromName $GLOBALS['TYPO3_CONF_VAR']['MAIL']['defaultMailFromName'] = 'foobar';
  2. create form without a field with "This field contains the Name of the sender"

image

  1. form should contain a field with email adress
  2. Configure plugin to send an email
  3. fill out form

Result

Mail to sender (person who fills out form) will have the defaultMailFromName as recipient (To field in email):

To: foobar <[email protected]>

Expected result

Since there is no field in the form for the name of the person, there should not be a name in the To field at all:

To: [email protected]

versions

  • latest v11
  • powermail: 10.7.4

sypets avatar Jan 23 '24 11:01 sypets