Firefox PHP

Module: Mailing List

Re: Module: Mailing List
July 16, 2010 01:34PM
Hi Robert,

Quote
Oliver Riesen
1. Phorum developers add attachment support to the send_mail hook (my preferred solution).

Hoping that this solution get grace from the Phorum developers I prepared a BETA version of my Mailing List Module which supports attachments.

Please take care that you have apply the following patch:

Patching Core Function:

The core mail function doesn't support attachments. If you want to send attachments you have to patch
include/email_functions.php:

Open the file and search for (starting line 241):

        $hook_data = array(
            'addresses'   => $addresses,
            'from'        => $from_address,
            'subject'     => $mailsubject,
            'body'        => $mailmessage,
            'bcc'         => $PHORUM['use_bcc'],
            'messageid'   => $messageid
        );

Replace this block by:

        $hook_data = array(
            'addresses'   => $addresses,
            'from'        => $from_address,
            'subject'     => $mailsubject,
            'body'        => $mailmessage,
            'bcc'         => $PHORUM['use_bcc'],
            'messageid'   => $messageid,
            'attachments' => $data['attachments']
        );

Please feel free to test it.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Mailing List
July 16, 2010 02:03PM
Similar functionality was added in changeset 4854 now.

Please post enhancement requests which include patches in our bug tracker, otherwise it will get lost as we don't read each and every message.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Mailing List
July 24, 2010 06:08PM
Hi Thomas,

Quote
Thomas Seifert
Similar functionality was added in changeset 4854 now.

Thanks! Please amend also the hook description.

Quote
Thomas Seifert
Please post enhancement requests which include patches in our bug tracker, otherwise it will get lost as we don't read each and every message.

Since it needs a lot of sensitiveness to know how your Phorum developers like to solve things (so my experience) I prefer to ask you first. My "patch" was just for Robert to give him the opportunity to test my besta version of the Mailing List Module.

@Robert: Test successful?

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Mailing List
August 02, 2010 08:00AM
Quote
Oliver Riesen
@Robert: Test successful?

I made the changes to email_functions.php around line 241 and installed the beta version of the module and did a test post with an uploaded picture, and it did not work.

I am wondering if it is because Embed Attachments is enabled, and a bbcode type tag gets inserted into the body of the message where you want the image or link to appear.

I'll test it out with something else again tomorrow. I am about to fall asleep.

Sorry it took so long to get back. I've been really busy at work.


Robert Angle
Phorum lover, nothing more.
Ruminations
Re: Module: Mailing List
August 02, 2010 08:25AM
Hi Robert,

Quote
Robert Angle
I made the changes to email_functions.php around line 241 and installed the beta version of the module and did a test post with an uploaded picture, and it did not work.

I am wondering if it is because Embed Attachments is enabled, and a bbcode type tag gets inserted into the body of the message where you want the image or link to appear.

The Embed Attachments Module (version 1.0.1) is also enabled in my test environment.

Please enable the Event Logging Module too, my beta version writes some debugging information about attachments to the log. And have a look to Sanity Checks.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Mailing List
August 05, 2010 10:34PM
Hi Thomas,

thanks for this awesome looking module. It looks very promising, but I look for a specific functionality:
I have an mbox from mailman and want to import it, I saw only pop functionality, is there a way to feed an mbox file to your module? Or mail by mail manually, but not through pop?

Thanks,
Ulrich
Re: Module: Mailing List
August 06, 2010 12:01AM
I guess you posted in the wrong thread and were talking about the external phorummail module. The external phorummail can only import from imap or pop. If you can hook up your mbox to some imap server you can import it too.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: Mailing List
September 06, 2010 02:54PM
Great module, but..Can't I use tildes?

Simulación de envío appears as: Simluación de envío
Re: Module: Mailing List
September 06, 2010 03:26PM
Hola Lord_ZealoN,

Quote
Lord_ZealoN
Can't I use tildes? Simulación de envío appears as: Simluación de envío

Claro que sí.

I'm using my Mailing List Module with a german forum, so we have a lot of german Umlauts. No problem.

Perhaps it's a problem with your character set in your language file. I think you have to use utf-8.

Saludos desde Alemania
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: Mailing List
September 06, 2010 03:35PM
Hola de nuevo :D

Pero no sé como solucionarlo :P

Could be a solution, to take german.utf-8, and translate to spanish from there?

Cheers ;)
Sorry, only registered users may post in this forum.

Click here to login