[imp] Users real name in 'From:' header

Ervin Hegedus airween at freemail.hu
Thu Jul 21 14:31:45 PDT 2005


Hello again,
 
> my question is simply: is there any way to pass the users real
> name to mail header?
> 
> for example:
> 
> From: "Ervin Hegedus" <airween at freemail.hu>
> 
> instead of
> From: airween at freemail.hu

i did it - this mail is just for list archive.

in IMPDIR/compose.php file, in line 870, change this:
$msg_headers->addHeader('From', String::convertCharset('"' . \
   $_SESSION['__auth']['userId'] . '" <' . $from . '>', \
   NLS::getCharset(), $charset));

if anybody is more expert in IMP than me, please check this out!


bye:
a.



More information about the imp mailing list