How to modify email header

If you aren't speaking german, you can ask for support or post your request here.
Antworten
smshun
Beiträge: 3
Registriert: 14. Apr 2016, 17:54

How to modify email header

Beitrag von smshun »

Hi all,

When sending email to member(s), there is always a header in the email body

'sender name' sent to receivers: 'member name'; 'member name'......
from 'website URL' the following E-mail:
*************************************************************************************

How can I edit this header?

Thanks in advance!
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: How to modify email header

Beitrag von fasse »

Thats not possible. Therefore you Must change the code. :(
smshun
Beiträge: 3
Registriert: 14. Apr 2016, 17:54

Re: How to modify email header

Beitrag von smshun »

So, how to change the code?
Could you teach me?
Thanks!
weissst
Developer
Beiträge: 342
Registriert: 4. Nov 2011, 18:07
Wohnort: 54xx

Re: How to modify email header

Beitrag von weissst »

I don't check it in detail, but i think you just need to delete the following line in the file "messages_send.php"

Code: Alles auswählen

// prepare body of email with note of sender and homepage
    $email->setSenderInText($postName, $ReceiverName);
you can test it and see if it will do the trick :wink:

br
Stefan
smshun
Beiträge: 3
Registriert: 14. Apr 2016, 17:54

Re: How to modify email header

Beitrag von smshun »

weissst hat geschrieben:I don't check it in detail, but i think you just need to delete the following line in the file "messages_send.php"

Code: Alles auswählen

// prepare body of email with note of sender and homepage
    $email->setSenderInText($postName, $ReceiverName);
you can test it and see if it will do the trick :wink:

br
Stefan
Hi Stefan, thanks for your help! Your method works! :D
Antworten