coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: markg on January 02, 2006, 06:22:20 AM

Title: How to edit details of registration confirmation email?
Post by: markg on January 02, 2006, 06:22:20 AM
Hi, congrats on a great application!

Where can I edit the details of the registration confirmation email sent to new users?

The email that goes to new users currently has From address surrounded by backslashes and double quotes, ie
From: \"domain-name\".

I've checked around but can't find anywhere to change it.  Otherwise ecards and registration email work fine.

Thank you
Mark
Title: Re: How to edit details of registration confirmation email?
Post by: Joachim Müller on January 02, 2006, 07:40:05 AM
edit lang/yourlanguage.php, e.g. lang/english.php, find // ------------------------------------------------------------------------- //
// File register.php & profile.php
// ------------------------------------------------------------------------- //
and edit the stuff below it.
Title: Re: How to edit details of registration confirmation email?
Post by: markg on January 09, 2006, 12:36:17 PM
There is a small problem with my CPG 1.42 registration confirmation email.  It has backslashes and a single quote around the domain name, how do i remove these?

The subject says:

\'<my domain-name>\' - Registration confirmation
eg
\'hithere.com\' - Registration confirmation

How do I change the line
'confirm_email_subject' => '%s - Registration confirmation', (line 1510 in english.php)

so that the quote and backslashes don't appear in the subject line?  Something weird is happening with the %s substitution, but i'm not sure if i should edit the source, or where its happening.

Thank you
Mark
Title: Re: How to edit details of registration confirmation email?
Post by: Tranz on January 09, 2006, 03:28:54 PM
In Config, what is entered for the gallery URL?
Title: Re: How to edit details of registration confirmation email?
Post by: Joachim Müller on January 10, 2006, 08:44:55 AM
Quote from: markg on January 09, 2006, 12:36:17 PM
There is a small problem with my CPG 1.42 registration confirmation email. 
Upgrade to cpg1.4.3 - not sure if it will fix your particular issue, but you should do it anyway, as it fixes other issues.