Module: External Phorummail
Posted by Thomas Seifert
|
Re: Module: External Phorummail October 21, 2009 04:01PM |
Admin Registered: 23 years ago Posts: 9,240 |
|
Re: Module: External Phorummail November 30, 2009 04:33PM |
Registered: 16 years ago Posts: 5 |
|
Re: Module: External Phorummail November 30, 2009 04:50PM |
Admin Registered: 23 years ago Posts: 9,240 |
|
Re: Module: External Phorummail November 30, 2009 05:00PM |
Registered: 16 years ago Posts: 5 |
Ok, patches attached.
ext_phorummail.php.patch.gz
- Fix to enable IMAP SSL based on chosen IMAP SSL setting in module settings.
settings.php.patch.gz
- Change mail password text_box to type password, to obscure it from prying eyes.
Hope they're helpful. :)
ext_phorummail.php.patch.gz
- Fix to enable IMAP SSL based on chosen IMAP SSL setting in module settings.
settings.php.patch.gz
- Change mail password text_box to type password, to obscure it from prying eyes.
Hope they're helpful. :)
|
Re: Module: External Phorummail December 03, 2009 04:56PM |
Registered: 21 years ago Posts: 5 |
|
Re: Module: External Phorummail December 04, 2009 12:29PM |
Registered: 16 years ago Posts: 5 |
So do I!Quote
arod
personally, i prefer:
[code="php"]
- $options->ssl = false;
+ $options->ssl = $forum_mailserver['ssl'] == 1;
[/code]
Looks like a much more efficient rendering, and I would have anticipated someone of Thomas' experience level to implement such a solution in any case. ;-)
I have a few more patches to submit for other modules that I have implemented and I will try to code more efficiently in future. Thank you for taking the time to comment.
|
Re: Module: External Phorummail January 20, 2010 03:40PM |
Registered: 16 years ago Posts: 11 |
I'm getting the following errors with scrip.php --scheduled
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 253
PHP Fatal error: Uncaught exception 'ezcBaseFileNotFoundException' with message 'The file '/tmp/32572-1/PAGE_Page2.wwh' could not be found.' in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php:86
Stack trace:
#0 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/file.php(86): ezcMailFile->__set('fileName', '/tmp/32572-1/PA...')
#1 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php(32): ezcMailFilePart->__construct('/tmp/32572-1/PA...')
#2 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php(269): ezcMailFile->__construct('/tmp/32572-1/PA...')
#3 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/multipart_parser.php(146): ezcMailFileParser->finish()
#4 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parse in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php on line 86
Some idea?
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 240
PHP Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php on line 253
PHP Fatal error: Uncaught exception 'ezcBaseFileNotFoundException' with message 'The file '/tmp/32572-1/PAGE_Page2.wwh' could not be found.' in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php:86
Stack trace:
#0 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/file.php(86): ezcMailFile->__set('fileName', '/tmp/32572-1/PA...')
#1 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php(32): ezcMailFilePart->__construct('/tmp/32572-1/PA...')
#2 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/file_parser.php(269): ezcMailFile->__construct('/tmp/32572-1/PA...')
#3 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parser/parts/multipart_parser.php(146): ezcMailFileParser->finish()
#4 /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parse in /var/www/vhosts/eswindev.com/subdomains/foro/httpdocs/mods/ext_phorummail/ezc/Mail/src/parts/fileparts/disk_file.php on line 86
Some idea?
|
Re: Module: External Phorummail January 21, 2010 03:34AM |
Registered: 16 years ago Posts: 11 |
|
Re: Module: External Phorummail January 24, 2010 02:50PM |
Admin Registered: 23 years ago Posts: 9,240 |
Try the following changed (untested):
find all occurences (there should be 2 of them) of
[code="php"]
$parser = new ezcMailParser();
[/code]
and add the following line afterwards
[code="php"]
$parser->setTmpDir($PHORUM["cache"]);
[/code]
It should store all temporary stuff in the phorum defined cache directory afterwards.
Thomas Seifert
find all occurences (there should be 2 of them) of
[code="php"]
$parser = new ezcMailParser();
[/code]
and add the following line afterwards
[code="php"]
$parser->setTmpDir($PHORUM["cache"]);
[/code]
It should store all temporary stuff in the phorum defined cache directory afterwards.
Thomas Seifert
|
Re: Module: External Phorummail February 10, 2010 08:38AM |
Registered: 16 years ago Posts: 3 |
Sorry, only registered users may post in this forum.


