Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: changing output of email

changing output of email 3 years 11 months ago #90389

  • lowprofile
  • lowprofile's Avatar
  • Offline
  • Junior Lime
  • Posts: 22
  • Thank you received: 1
  • Karma: 0
Hi,

Im using 1.92+ and would like to know how to change the output of the email (smtp) to make the To: address which is currently
firstname + lastname <email@address>
to email@address <email@adress> or simply a blank ToName
Last Edit: 3 years 11 months ago by lowprofile. Reason: to not from!
The administrator has disabled public write access.

changing output of email 3 years 11 months ago #90399

  • lowprofile
  • lowprofile's Avatar
  • Offline
  • Junior Lime
  • Posts: 22
  • Thank you received: 1
  • Karma: 0
Can I change this line in common_functions.php
$toname=trim(substr($singletoemail,0, strpos($singletoemail,'<')-1));
to
$toname=" ";
or
$toname='';

This would only be temporary
Last Edit: 3 years 11 months ago by lowprofile.
The administrator has disabled public write access.
Time to create page: 0.271 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form