Account creation mail subject line in UTF8

When you create a new account in VTiger there is a mail sent out to inform the user of the link, his username and password. This mail, to be nice about it, leaves a bit to be desired. Below you will see a few changes that I made to get the mail to be a bit more informative before the users just trash it.

  • in the file modules/Users/Save.php is the following at line 207:
            $subject = $mod_strings['User Login Details'];

I changed mine to read:

         $subject = $mod_strings['User Login Details']." für VTiger Planet IC";
  • and at line 217:
            $mail_status = send_mail('Users',$user_emailid,$HELPDESK_SUPPORT_NAME,$HELPDESK_SUPPORT_EMAIL_ID,$subject,$email_body);

I changed to so that UTF8 characters are correctly displayed in the subject line:

        $mail_status = send_mail('Users',$user_emailid,$HELPDESK_SUPPORT_NAME,$HELPDESK_SUPPORT_EMAIL_ID,'=?'.$default_charset.'?B?'.base64_encode($subject).'?=',$email_body);
/var/customers/webs/cw01/wiki/data/pages/vtigercrm/account_creation_utf8_mail_subject.txt · Last modified: 2010/10/12 15:19 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki