Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 26

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 29.07.2004, 13:52   #1 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 4
mikehay is on a distinguished road
Default Enhanced email notification

The exisiting email notification for new submissions works OK but the email which is sent is devoid of usefull information i.e. what the post is about.

Does anyone know where/what to edit to include the subject and perhaps some of the content of a post in the notification email?

Mike
mikehay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.09.2004, 17:59   #2 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 4
mikehay is on a distinguished road
Question Re: Enhanced email notification

Hardly a complete answer but I have found that the following changes add a bit of usefull info to the message which gets emailed when new content is submitted.

Edit /components/com_messages/messages.class.php

Changing the following lines:
48 global $mosConfig_site_name;
77 $subject = "A new private message has arrived";
78 $msg = "A new private message has arrived";
79 $headers .= "From: $mosConfig_site_name\r\n";

to read:
48 global $mosConfig_sitename;
77 $subject = "New content has been submitted to the $mosConfig_sitename";
78 $msg = "$message";
79 $headers .= "From: $mosConfig_sitename\r\n";

My PHP knowledge is pretty limited and I haven't yet figured out how to get it any better. It would be nice to be able to include the name of the section in the subject line and some of the text of the submission in the body. Any ideas?
mikehay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Phil-a-form email problem hebert01 Component Development 21 31.08.2005 14:47
spam message in new user's notification email mystro Mambo 4.5 Bugs 2 22.07.2004 09:10
how do i specify the sender's email address in mass mail? jworld Mambo 4.5 General Talk 1 16.06.2004 02:28
Require people to give email before getting content optimus_prime Mambo 4.5 'How Do I' Questions 4 11.06.2004 11:27
MOSopMail - POP3 email for MOS ozlawsy Development Announcements 1 04.05.2004 20:35


All times are GMT +2. The time now is 06:31.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.