Commit Graph

19 Commits

Author SHA1 Message Date
Klaus Leithoff
e94703b9a4 increase timeout, since some smtp-servers seem to need more than 10 seconds to respond 2010-06-18 09:22:21 +00:00
Klaus Leithoff
3b427a4062 move debug to be the first thing in send->send; make SmtpSend public as it is used by MDN 2010-05-21 11:19:29 +00:00
Klaus Leithoff
ac34881766 fix the modified call of file_get_contents (was called with debug extension, to check failure behavior); call/define functions EncodeFile and EncodeString by reference 2010-04-20 12:33:24 +00:00
Klaus Leithoff
1afe8f6f9a rework of EncodeFile to avoid opening the file in question twice 2010-04-20 12:11:03 +00:00
Klaus Leithoff
9284452553 original EncodeFile uses is_readable. this fails with files stored in vfs in webusers context. use fopen instead, as old function (version 2.1) did 2010-04-20 10:02:36 +00:00
Klaus Leithoff
a2e6e301ee apply egroupware changes to phpmailer 5.1; logging errors to error_log for smtp class; additional functions to retrieve Header and Body of a created mail; being able to attach ics files as additional multipart/alternative part; AddString Part; being able to pass ssl and tls as part of the host string 2010-04-19 15:11:16 +00:00
Klaus Leithoff
af0f7d65b7 upgrade to phpmailer Version 5.1 2010-04-19 15:05:36 +00:00
Klaus Leithoff
d4959b0275 upgrade to phpmailer Versoon 5.1 2010-04-19 14:39:41 +00:00
Ralf Becker
71960a6d02 Fixed some more php53 Warnings after latest fix_depricated.php
improvment.
2010-03-21 09:37:52 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Klaus Leithoff
f62eccd9a7 fixing a problem regarding the passing on of the charset information, as some clients get confused if there is a blank between the word charset and the equual sign. 2009-02-09 15:17:26 +00:00
Klaus Leithoff
9dfa6f6d4c Since having problems with the new phpmailers EncodeQP function and its Char and Line/WordWrap Handling, I reintroduce the functionality of the old
class.
2008-07-08 08:38:56 +00:00
Klaus Leithoff
88f99c5eb6 importing the new class.phpmailer.php as class.phpmailer.inc.php v2.1 for PHP5 and adapting eGroupWare specific changes 2008-06-19 16:25:23 +00:00
Klaus Leithoff
b0fe8d229e -patch by Jon Crawford to enable ssl connections for smtp
(phpgwapi/inc/class.phpmailer.inc.php )
 example: hostname: ssl://smtp.servername.country
	  port: 465
2008-06-03 09:30:44 +00:00
Ralf Becker
820bb9b592 calculation of rfc822 dates was not working with half hour time zones used eg. in Australia, set smtp timeout to 30s, as there are multiple reports 10s is to less 2007-09-05 07:50:10 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Lars Kneschke
14d546d58d added functionality to add multiple html / text parts to the message 2006-09-28 18:46:27 +00:00
Lars Kneschke
4ec908ebe4 added support for fetching body and header for composed email 2006-06-23 19:13:22 +00:00
Lars Kneschke
8c40bd3358 imported phpmailer 2003-09-14 10:08:47 +00:00