forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: jo_dadday on April 28, 2006, 02:26:50 am
-
When I (the administrator) get emails notifying me of uploads or comments, the "from" value is
\"Gallery Name\" <email@example.com>
is there any way to remove the slashes? Or even the quotation marks altogether?
Or just where in which file could i find the code so i can figure it out?
thanks,
Kelmo
-
link?
-
Hi,
Unable to replicate this bug on my cpg-1.4.4 installation. Please check again your 'Galley name' setting.
The code used to handle sender's name while sending mail is in 'include/mailer.inc.php' (function 'cpg_mail').
Amit :)
-
I have the same problem. just never reported it. curious to find out why it does that.
-
include/mailer.inc.php
if ($sender_name == '') { $sender_name = '"' . $CONFIG['gallery_name'] . '"'; }
Remove the extra quotes and see what happens.
-
you mean from
if ($sender_name == '') { $sender_name = '"' . $CONFIG['gallery_name'] . '"'; }
to if ($sender_name == '') { $sender_name = ' ' . $CONFIG['gallery_name'] . ' '; }
?
-
if ($sender_name == '') $sender_name = $CONFIG['gallery_name'];
-
thanks nibbler! it works great. :)
-
I have just reapplied this fix to my 1.4.8 board after doing it to 1.4.6 and so on... Is this a bug or some anomoly that shouldn't be fixed in the point releases yet for some reason? Just wondering if I have missed something here.
Will
BTW it is a fix that works well so I wonder why it has to be applied each time...
-
Thank you for this fix. As an addition, what about this:
"Riley's Photo Gallery" <daddy@rileydupont.com>
How can I get it to convert the ' back to a ' ?
Thank you,
NetWhiz