Mod Request - E-mail Log

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Registered User
Posts: 4
Joined: Sat Nov 28, 2009 7:32 pm

Mod Request - E-mail Log

Post by acecm8y »

I have been trying to investigate an e-mail issue where the forum is sending out duplicate notfications to members for PMs and subscriptions.

I feel it would be advantageous to have an e-mail log so that we can see what triggered an e-mail, date/time sent, address(es) used and subject line. This could be a resource hog so I would have this disabled by default in the ACP.
Registered User
Posts: 119
Joined: Thu May 22, 2008 3:10 pm
Location: Paris, France

Re: Mod Request - E-mail Log

Post by ksar »

May be you can try this.

Open includes/functions_messenger.php

Find (around line 490)

Code: Select all

			$this->queue->put('email', array(
				'to'			=> $to,
				'addresses'		=> $this->addresses,
				'subject'		=> $this->subject,
				'msg'			=> $this->msg,
				'headers'		=> $headers)
Add After

Code: Select all

		add_log ('admin','Email Sent to : '.$to.' cc : '.$cc.' bcc : '.$bcc.' Subject : '.$this->subject);
Normally you will find the sent emails on the Admin Logs

mail to post mod : A new mod, to "replace" the mail2form mod that is not working in phpbb3 (it will be more simple at the beging). Estimated Release Date : November 2010
Invitation mod : Translate to English my mod and update.
Tranlate mod : update of the mod and at the possibility for users to write message in any language
email html: Add template feature

Return to “[3.0.x] MOD Requests”