Commit Graph

54 Commits

Author SHA1 Message Date
Ralf Becker
9059132c34 fixed default SMTP account was not returned during setup and deprecated old send class in favor of using egw_mailer direct 2015-04-24 10:01:22 +00:00
Klaus Leithoff
3a3fea946b replacement for broken (and now deprecated) send->msg; 2015-04-21 12:50:41 +00:00
Ralf Becker
4b999cc43a removing PHPMailer require, no more empty Bcc, and first version for send class using new egw_mailer 2014-11-25 09:06:46 +00:00
Klaus Leithoff
97acbbb70f rework sender/from/replyTo Information on notification 2014-11-18 10:50:35 +00:00
Ralf Becker
b0e97a61e6 use smpt-username as sender, if available, but only if it is a full email address 2014-08-22 13:25:53 +00:00
Klaus Leithoff
2502f5500a * Notification/Mail: make sure acc_smtp_username is used (if available), to cope with strict mailserver settings to prevent faking sender information 2014-06-24 13:38:32 +00:00
Ralf Becker
6efc08cc0a * Notifications: fixed not used SMTP authentication and selection of mail account 2014-06-05 10:36:13 +00:00
Ralf Becker
88ac923de2 switched off permanent error_log 2014-04-09 08:49:07 +00:00
Ralf Becker
0a83c89f9f fixed PHP Fatal error: Undefined class constant "SSL_TLS" 2014-04-09 08:41:57 +00:00
Ralf Becker
370dd66938 fixed send class to use new accounts stuff and not calling (no longer existing) felamimail 2014-04-09 08:22:59 +00:00
Klaus Leithoff
d5c2a03f51 revert changes introduced with r43681, as issue is fixed in bo_tracking and handling of GLOBALS[info][user][account_id] 2013-09-02 11:34:38 +00:00
Klaus Leithoff
7744905ba8 try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification 2013-08-30 12:57:51 +00:00
Hadi Nategh
86dfe42104 replace no longer existing depricated egw_info->user email and fullname 2013-07-04 17:45:20 +00:00
Klaus Leithoff
b56fe24784 catch exeption on CreateObject of bopreferences, if no felamimail is available 2011-10-17 08:41:43 +00:00
Ralf Becker
700143eef8 if we have NO password, eg. because we run by async service outside a regular user session
--> fall back to the default profile / mail config from setup
2011-09-29 15:26:13 +00:00
Ralf Becker
3c8abc1971 * fixed not working async service test-job
$$adr[0] === $($adr[0]) !== ($$adr)[0]
2011-03-21 13:13:41 +00:00
Ralf Becker
8f63182822 * added mail log, which can be enabled by setting $GLOBALS[egw_info][server][log_mail] to a path or true for standard error_log
- added egw_mailer class to archive that and correctly intialise EGroupware pathes for translations
- updated translations and moved them to phpgwapi/lang/ (getting rid of message not translated errors)
- using egw_mailer in fmail including catching of phpmailerException to not glutter GUI with echoed errors
2010-09-15 09:10:12 +00:00
Klaus Leithoff
553152fc80 fix for expected parameter for data must be an array in set_timer, when starting async testjob; handling array as adr in send when creating messages 2010-09-13 08:41:04 +00:00
Ralf Becker
00acdcb48b fixed wrong type parameter for logging to a file and some formatting 2010-09-08 16:22:55 +00:00
Ralf Becker
bb96dda0a7 Log mails to log file specified in ['egw_info']['server']['log_mail'] or regular error_log for true (can be set either in DB or header.inc.php) 2010-09-08 16:02:40 +00:00
Klaus Leithoff
f71cd37af6 use notifications option/configuration to enforce the use of emailadminprofiles only for notifications 2010-07-16 12:04:51 +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
b41730ee15 always try to set the Sender information; use set Sender, then try using the Sender info possibly supplied with the SMTP Auth info, then use the Profiles identity eMailaddress, if available 2009-09-01 07:12:50 +00:00
Klaus Leithoff
80c3da850d enable debug for send class to be passed to phpmailer/smtp 2008-12-09 14:02:13 +00:00
Klaus Leithoff
e025a14a08 putting some debug into the send class to find problems more easily 2008-12-05 10:26:07 +00:00
Klaus Leithoff
859e1206e4 preparation to use senderinformation specified with the smtpusername if set (appended to the username in the orm of:
smtpusername;mailadress@thatisownedbysmtpusername.com)
2008-10-21 11:57:52 +00:00
Klaus Leithoff
e5f5feddf1 enable the use of the active mailprofile (if set) 2008-06-19 11:44:31 +00:00
Ralf Becker
9c9b127de6 bugfix suggested by <martinjcole-AT-gmail.com> 2006-04-24 20:20:48 +00:00
Miles Lott
9438655ca5 Format and switch to egw_info, et al. 2005-08-23 17:49:49 +00:00
alpeb
efe5157b83 fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed 2004-07-21 21:15:54 +00:00
Ralf Becker
e5d689cb9f added smtp-auth configuration to email and API's send-class (translations for that are moved to admin, as the config is now in Admin >> Site config and only for confinience accessible via Admin >> Email >> Site config too 2004-07-11 08:33:28 +00:00
Ralf Becker
a978d214ad killed the debug-messages and added some more comments 2004-07-05 10:13:56 +00:00
Ralf Becker
9b6952ec0b New send class, which just implements the old interface (msg-methode) on top of the PHPMailer. It gets it's configuration from Admin >> Site configuration and does NOT depend on one of the email-apps anymore. 2004-07-05 10:11:11 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
dbc66bcf00 encode_subject(): remove unnecessary CR's as some mail-scanners complain about them 2003-11-23 10:41:19 +00:00
Lars Kneschke
2eebcbee3a phpgroupware -> egroupware
Fix for BUG [ 844428 ] X-Mailer text should be changed
2003-11-18 21:42:16 +00:00
Ralf Becker
cccbba347d changed charset-detection from lang('charset') to translation::charset() 2003-11-03 10:35:32 +00:00
Ralf Becker
b6ef1b3605 fix for bug #3427: no email-notifications
send class does not default to port 25, as email does when smpt-port is left empty in the email-site-config
2003-05-30 16:11:36 +00:00
Ralf Becker
9a074ef8b3 added function to encode subject for 8-bit-chars and made boundary a param 2003-05-17 20:41:14 +00:00
skeeter
9d50404d22 GNU Patch #483. 2002-09-01 15:03:19 +00:00
skeeter
9b853a9ba0 This should fix the sending of any emails and the saving to the users sent folder. 2002-04-12 14:21:57 +00:00
Miles Lott
81833f8843 formatting, globals 2001-09-28 21:38:29 +00:00
angles
cc9b7f8b35 Experimental- fix multiple attachment problem, add sig before attachments, fix Message-Boundary placement 2001-06-05 07:44:39 +00:00
angles
44180f84a0 improved workaround-fix for bug 421645 quotes in email_sig prefs 2001-06-01 17:54:55 +00:00
angles
2a381e6dd4 fix for bug 421645 use of quotes in email_sig preferences 2001-05-30 19:47:13 +00:00
skeeter
0b717ac195 cleanups for readability 2001-03-25 22:24:19 +00:00
skeeter
f6d0ed1eb6 possible fix for sending email and teh RCPT TO: address 2001-03-25 21:04:41 +00:00
skeeter
7eff94a52d added ability to designate Sender: field 2001-03-15 05:35:30 +00:00
chrwei
0b409c5b02 flags for imap_append and Sent email flagged Seen 2001-02-24 04:07:01 +00:00
skeeter
12badc6dc1 cleanups - to make it more OO 2001-01-17 02:50:16 +00:00