Project

General

Profile

Actions

Bug #25029

closed

defaultMailFromName not used when defaultMailFromAddress is used in mailform

Added by Christian Tauscher over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2011-02-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The content type (CType) is "mailform".

Settings in localconf:

$TYPO3_CONF_VARS['MAIL']['transport'] = 'mbox';
$TYPO3_CONF_VARS['MAIL']['defaultMailFromAddress'] = 'defaultMailFromAddress@*****.*****.**';
$TYPO3_CONF_VARS['MAIL']['defaultMailFromName'] = 'defaultMailFromName';
$TYPO3_CONF_VARS['MAIL']['transport_mbox_file'] = 'typo3mbox';

The resulting Mail in mBox:

From defaultMailFromAddress@*****.*****.** Mo 14 Feb 2011 11:00:43 CET
Message-ID: <1297677643.4d58fd4b47104@*****.*****.**>
Date: Mon, 14 Feb 2011 11:00:43 +0100
Subject: Kontaktformular
From: "" <defaultMailFromAddress@*****.*****.**>
To: crtausch@t*****.*****.**
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="_=_swift_v4_12976776434d58fd4b402ef_=_"
X-Priority: 3 (Normal)
X-Mailer: TYPO3
X-Mailer: TYPO3

--_=_swift_v4_12976776434d58fd4b402ef_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

ANREDE: Herr
VORNAME: bli
NACHNAME: bla
...

As you can see, the From ist missingthe name.
same Result with $TYPO3_CONF_VARS['MAIL']['transport'] = 'mail';

Create mailform with "name" or "from_name" field, but with "email" or "from_email" field. The defaultMailFromAddress mail address is used, but with the name from the form.
If no name is entered in the form the senders name is filled with two double quotes.

(issue imported from #M17574)


Files

17574.patch (2.59 KB) 17574.patch Administrator Admin, 2011-02-20 15:01

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24222: The new Swift Mailer should be used by TYPO3 for sending all kinds of mailClosedJigal van Hemert2010-11-28

Actions
Actions

Also available in: Atom PDF