Firefox PHP

Module: Group Auto-Email

Posted by Joe Curia 
Re: MIME-Version email header messes up Outlook (WebMail)
November 18, 2009 04:13AM
What version of PHP are you on? IIRC, older versions of PHP only used \n. The current method is \r\n for sure and should work on a reasonably up-to-date system. Things could also be broken my the MTA, according to the PHP manual.

From the PHP mail() manual:

additional_headers  (optional)

    String to be inserted at the end of the email header.

    This is typically used to add extra headers (From, Cc, and Bcc).
    Multiple extra headers should be separated with a CRLF (\r\n).

    Note: If messages are not received, try using a LF (\n) only. 
    Some poor quality Unix mail transfer agents replace LF by CRLF
    automatically (which leads to doubling CR if CRLF is used).
    This should be a last resort, as it does not comply with » RFC 2822.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Group Auto-Email
November 29, 2009 04:57PM
Some posts introduced the notion that we should not rely on the mail generated to allways being delivered.

I've found references to [www.mikesparr.com] or, probably preferable?, PEAR’s Mail::Queue package [pear.php.net]

From the tutorial it looks like maybe those lines could easily be added to the module to support the queue if it is installed?
Re: Module: Group Auto-Email
January 10, 2010 03:15PM
I am a bit baffled.

I am running two forums on separate domains and databases.

I have Group Auto-Email (version 5.2.1.06) running as mods on both forums.

One is working as sweet as a nut and the other is not, no forum emails received at all. Admin does receive "There has been a new message sent to a forum which you are moderating." But the auto email content never arrives.

I have checked a number of times and believe each mod and forum is set up exactly the same for the feature, apart form maybe different email addresses, which is active and checked.

Can anyone suggest a way of troubleshooting the Group Auto-Email mod or ideas on what to try.

Thanks for help and support.

Harry
Re: Module: Group Auto-Email
January 10, 2010 05:38PM
I am gonna ask a really dumb question...

Is one forum set for moderated posts and the other isn't? I'm just looking at the moderation comment you made. If on one posts go to the forum immediately, these would get emailed on the fly. If on the other they go to the queue awaiting approval, they may not get emailed until approved by the moderator.

Just a brief thought :-)

- Bob
Re: Module: Group Auto-Email
January 11, 2010 07:39AM
Hi Bob
No neither forum is set for moderator in terms of posting. One has a setting for the public to read only.
Still a bit baffelled.
Harry

ps: re the "One is working as sweet as a nut and the other is not, no forum emails received at all. Admin does receive "There has been a new message sent to a forum which you are moderating." But the auto email content never arrives." Is just a post that the admin gets which I presume is reletive to the System Email Settings. PM messages, new user messages both work fine also.



Edited 1 time(s). Last edit at 01/11/2010 08:04AM by harryatkins.
Re: Module: Group Auto-Email
January 11, 2010 08:46AM
Okay, dumb question #2...

Is the "Test User" on the non-working forum actually a member of the group?

On my forum, any user can see the forum, but they have to join a particular group to start receiving emails.

And #3...

Is "Enable Moderator Notifications" allowed on both forums? If it is only on the one, try disabling it to see if there is a conflict (since you mention that you receive moderator notifications).

Outside of the obvious dumb questions, we might need the author to look at this.

- Bob
Re: Module: Group Auto-Email
January 11, 2010 10:14AM
Hi Bob
Yes the test member is in the "members" group on the non working forum.
I am using Register To Group (version 1.0) This mod allows you to add each user automatically to one or multiple groups on
registration. Created by Thomas Seifert. So all registrations are automatically in the members group (in approved status) see image.

"Enable Moderator Notifications" is set to yes on both forums, however they are on totally different domains, databases, and email addresses.

Thanks for the continued ideas.
Re: Module: Group Auto-Email
January 13, 2010 05:41AM
Just wondering I have the forum, that appears not to be working in regards of the auto email, as a sub domain. Would this have any effect. [www.forum.mysite.co.uk] ??



Edited 1 time(s). Last edit at 01/13/2010 05:42AM by harryatkins.
Re: Module: Group Auto-Email
January 13, 2010 10:43AM
Harry,

The subdomain should have not effect on this module. Have you enabled the SMTP module in either installation? Have any errors been logged in the Event Logging module? Have you tried re-uploading the module files just in case an FTP error occured? Have you gone into the Admin section > Edit Users > your admin user > Edit Groups and actually set your user to "Approved" as admin users will show as members of every group but are not included as members from this module's standpoint until they have been set to "Approved" through the admin interface.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Group Auto-Email
January 13, 2010 12:13PM
Hi Joe
I have just tried the enabled SMTP module on the installation that was not working to see if this had an effect. It seems to be working but no email received as yet. There are no errors reported see image, I was advised to use "localhost" as the Hostname of mailserver?

I then turned off the SMTP and tried again normally, which from the error log (attached) seemed to work also?

I have tried re-uploading the module files just in case an FTP error occured.

I have gone into the Admin section > Edit Users > your admin user > Edit Groups and actually tried to set my user to "Approved" but it will not save in that state and returns to "Group Moderator"? No errors logged.

Thanks for the help as I now seem to be getting somewhere.

ps: I dont know if related in any way but I am getting :
01/13/2010 05:20PM moderation Application PHP error: phorum_get_file_contents: file "./templates/simple_rounded/stdblock.tpl " does not exist when trying to delete a topic?

Harry



Edited 2 time(s). Last edit at 01/13/2010 12:29PM by harryatkins.
Sorry, only registered users may post in this forum.

Click here to login