RobvD Posted Tuesday at 11:00 AM Report Share Posted Tuesday at 11:00 AM Hi, I'm a new user of TNG (version 15.0.4, template 19). Messages that TNG sends, for instance to confirm the activation of a user account, contains HTML text in the body. Like this: -------------------- <html> <head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> </head> <body> Hallo .........,<br /> <br /> Uw TNG gebruikers-account is geactiveerd. Uw aanmeld-informatie is:<br /> <br /> Gebruikersnaam: .......<br /> Wachtwoord: ..........<br /> <br /> ...................<br /> https:// ..................</body> </html> ----------------------- How can I prevent TNG from adding this code to the messages? Thank you for your help. RobvD Quote Link to comment Share on other sites More sharing options...
GOGGS Posted Tuesday at 02:30 PM Report Share Posted Tuesday at 02:30 PM The function tng_sendmail is inside the file tngmaillib.php file. It has the HTML tags mixed in with the other variables to form the message. You could edit that file directly, in the $body variable (I wouldn't mess the others), and use \r\n as a return/linefeed. The suggest and "no new registrations" processes also have some HTML used, in the text.php file in the language folders... GOGGS Quote Link to comment Share on other sites More sharing options...
theKiwi Posted Tuesday at 02:44 PM Report Share Posted Tuesday at 02:44 PM Change your mailing settings to use SMTP, and provide the login credentials for the eMail account you plan to use in TNG Admin ------> Setup ------> General Settings ------> Mail and Registration Roger Quote Link to comment Share on other sites More sharing options...
RobvD Posted Tuesday at 03:23 PM Author Report Share Posted Tuesday at 03:23 PM Thank you very much for the replies. I followed the suggestion of Roger and it works Rob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.