0
Since all mails come in as 'User' this is difficult to distinguish.
In my case I have the user name as first field in form requested.
With this code change you the real name will be used. If not available, the first part of the eMail will be used (should be part of this extension).
In my case I have the user name as first field in form requested.
With this code change you the real name will be used. If not available, the first part of the eMail will be used (should be part of this extension).
replace in b2jadminmailer.php
$replayTo[] = 'User';
$user = 'User';
if (isset($this->FieldsBuilder->DynamicFields[1][1][0]->b2jFieldValue))
$user = $this->FieldsBuilder->DynamicFields[1][1][0]->b2jFieldValue;
else {
$user = $this->FieldsBuilder->senderEmail->b2jFieldValue;
$pos = strpos($user, '@');
if ($pos > 0)
$user = substr($user, 0, $pos);
}
$adminemailreplyto['1'] = $user;
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »