Commit Graph

37 Commits

Author SHA1 Message Date
Klaus Leithoff
e8852dc8f3 on InlineImageExists make sure there is at least one attachment 2013-05-06 14:37:23 +00:00
Klaus Leithoff
7e00a006d7 * API/phpmailer: introduce optional parameter to InlineImageExists, to be able to determine if all attachments are inline, or only some; this will be used to decide on the mimetype of the message to be sent (multipart/ related (all) or mixed (some)) 2013-05-06 14:27:41 +00:00
Klaus Leithoff
4957c77f74 allow to access ReplyTo of MailObject by extending classes; provide Function to retrieve replyTo Address; alter Method to detect wether a filename is already encoded, and if - do not try to use the basename as filename 2012-11-05 08:48:13 +00:00
Klaus Leithoff
e5a80d758a fix bug regarding certain russian filenames when forwarding/compose as new, as AddStringAttachment is using basename to make sure only a filename will be used for the namepart; some fixes backported from phpmailer5.2.1 2012-08-14 13:52:26 +00:00
Klaus Leithoff
1f6c3b2df7 * API/eMail: catching failure to attach files, or fail on attaching empty files, or failure to encode files 2012-05-02 08:31:59 +00:00
Klaus Leithoff
6263753e80 add missing default translation for lang key tls 2011-07-14 08:54:30 +00:00
Klaus Leithoff
82f81ccafa make sure AltBody is only added if there is an AltBody present; control messageType regard AltExtended too 2011-05-26 16:34:25 +00:00
Klaus Leithoff
89a1d1d419 * Calendar Notification: handle calendar requests correctly as multipart/alternative; adding AltExtended to phpmailer; beware parts of multipartAlternative must be in decreasing order of preference (text/calendar as the last part) 2011-05-26 13:26:09 +00:00
Klaus Leithoff
3df142b00b * Calendar Notification: handle calendar requests correctly as multipart/alternative; one part text/plain the other part text/calendar 2011-05-26 09:47:31 +00:00
Ralf Becker
18b818bd57 reverting accidently commit r34595 2011-04-10 15:05:47 +00:00
Ralf Becker
bd4f019062 some more PostgreSQL stuff from ADOdb 5.11 2011-04-10 15:04:40 +00:00
Klaus Leithoff
6857f1c36e with php5.3 EncodeQP uses quoted_printable_encode, which messes up content eventually 2011-02-23 12:36:08 +00:00
Klaus Leithoff
181296df72 allow to modify/preset the Message Date; make public SetMessageType 2010-12-28 10:29:19 +00:00
Klaus Leithoff
0d534a2c70 * eMail: improving Information on failed send passed on to UI 2010-12-09 10:58:04 +00:00
Klaus Leithoff
e86c74ef5d handle deprecated warning set_magic_quotes_runtime, do not set magic quotes all the time, only when get_magic_quotes_runtime returns true 2010-11-25 15:02:06 +00:00
Klaus Leithoff
449a355f2a fix php header for new Function FetchBoundary 2010-10-20 09:48:49 +00:00
Klaus Leithoff
9dae1bdbe0 function to allow to access/read the boundarys used by CreateHeader 2010-10-19 14:36:08 +00:00
Klaus Leithoff
fd37185922 email/phpmailer: fix for bug regarding the sending of the charset information reported by stefan.helzle-at-oscons.de 2010-10-07 08:33:59 +00:00
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