tubarao21 Posted January 26, 2006 Posted January 26, 2006 Hi there. I hope someone can helpe me with this. The mail that is sent when a new client create an account arrives in a Strange way. The Subject is:" EMAIL_SUBJECT " And the message is:" EMAIL_GREET_MREMAIL_WELCOMEEMAIL_TEXTEMAIL_CONTACTEMAIL_WARNING " I have no ideia of what is going on. Any ideias? And i would like also to ask where the client e-mail goes to? How can i see the e-mail? Hope someone can help me;) Thanks for the attention;)
MoisesZaragoza Posted January 26, 2006 Posted January 26, 2006 That is a problem with the constants Make sure that you have a include to your languages at the end of the day the code will be good
tubarao21 Posted January 26, 2006 Author Posted January 26, 2006 Well..., i'm not confortable with PHP. I don't really understand it... yet. I was viewing my create_account.php and it seems to me that is wrong. Comparing with other languages, my create_account is quite empty. I post it here. Maybe someone can tell me something. <?php /* $Id: create_account.php,v 1.7 2001/12/20 14:14:14 dgw_ Exp $ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright © 2000,2001 The Exchange Project Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Conta Pessoal'); define('HEADING_TITLE', 'Criar uma conta pessoal'); define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NOTA:</b></font></small> Caso j? tenha uma conta pessoal nesta loja, por favor fa?a o seu <a href="%s"><u>login</u></a>.'); ?> And that's it. The most alike php file that i have with create_account.php (in English folder for example) is create_account_process.php What should i do?
MoisesZaragoza Posted January 26, 2006 Posted January 26, 2006 OK what you are loking here is not here but I'll tell you what do this do <?php // This line is neaded to tell the browser that this is going to be prosees by the server instead of the browser /* // Multi line coment $Id: create_account.php,v 1.7 2001/12/20 14:14:14 dgw_ Exp $ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright ? 2000,2001 The Exchange Project Released under the GNU General Public License */ // end of the multi line comment define('NAVBAR_TITLE', 'Conta Pessoal'); // define = a Constant variable ( a variable that dose not change) define('HEADING_TITLE', 'Criar uma conta pessoal'); define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NOTA:</b></font></small> Caso j? tenha uma conta pessoal nesta loja, por favor fa?a o seu <a href="%s"><u>login</u></a>.'); ?> at the end of the day the code will be good
tubarao21 Posted January 27, 2006 Author Posted January 27, 2006 Ok. I got it working. I must confess i got a bit confused with your explanation. Despite this, i could understand that in fact my code needed something. So, what i did was, edited create_account_process.php and copied some lines there that in other create_account.php (in english and spanish) exists, and in my create_account.php was missing. It's working well by now ;) For all having the same trouble, i had to put this lines that were missing. For me worked well, for other people i don't know ;): define('EMAIL_SUBJECT', 'Benvindo ? ' . STORE_NAME); define('EMAIL_GREET_MR', 'Exmo Sr. %s,' . "\n\n"); define('EMAIL_GREET_MS', 'Exma Sra. %s,' . "\n\n"); define('EMAIL_GREET_NONE', 'Exmo Sr. %s' . "\n\n"); define('EMAIL_WELCOME', 'A <b>' . STORE_NAME . '</b> agradece a sua prefer?ncia.' . "\n\n"); define('EMAIL_TEXT', my text define('EMAIL_CONTACT', 'Para ajuda ou d?vidas, ? favor contactar-nos pelo email ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n"); define('EMAIL_WARNING', '<b>Nota:</b> Este e-mail foi-nos etc etc ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); Thanks for the attention.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.