ExtrasFunction::set_finish_date('366', '2014-02-28 00:00:00.000') // В таком виде получаются данные после чтения из mssql, так что такую строку и передаю. Пробовал и без ".000"
$stmt = $db->prepare("UPDATE Pmark SET Finish='".$date."' WHERE ID='".$ID."'");
Nov 03 12:23:15 host=localhost tls=off auth=off from=crm1@*domain*.ru recipients=vekov.i@*domain*.ru mailsize=13 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as 4C46E6345B' exitcode=EX_OK
Nov 3 13:34:05 lk postfix/smtp[7664]: connect to mx2*domain*.ru[XX.XXX.XX.XXX]:25: Connection timed out
Nov 3 13:34:05 lk postfix/smtp[7667]: connect to mx2.*domain*.ru[XX.XXX.XX.XXX]:25: Connection timed out
Nov 3 13:34:05 lk postfix/smtp[7664]: 16C9D635F6: to=<vekov.i@*domain*.ru>, relay=mx1.*domain*.ru[XX.XXX.XX.XXX]:25, delay=1527, delays=1496/0.03/30/0, dsn=4.0.0, status=deferred (host mx1.*domain*.ru[XX.XXX.XX.XXX] refused to talk to me: 554-mx1.*domain*.ru 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.)
Nov 3 13:34:05 lk postfix/smtp[7665]: connect to mx2.*domain*.ru[XX.XXX.XX.XXX]:25: Connection timed out
Nov 3 13:34:05 lk postfix/smtp[7667]: E045E635F9: to=<info@*domain*.ru>, relay=mx1*domain*.ru[XX.XXX.XX.XXX]:25, delay=1486, delays=1456/0.05/30/0, dsn=4.0.0, status=deferred (host mx1.*domain*.ru[XX.XXX.XX.XXX] refused to talk to me: 554-mx1.*domain*.ru 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.)
Nov 3 13:34:05 lk postfix/smtp[7666]: connect to mx2.*domain*.ru[XX.XXX.XX.XXX]:25: Connection timed out
Nov 3 13:34:05 lk postfix/smtp[7665]: 16C9D635F6: to=<info@*domain*.ru>, relay=mx1.*domain*.ru[XX.XXX.XX.XXX]:25, delay=1527, delays=1496/0.04/30/0, dsn=4.0.0, status=deferred (host mx1.*domain*.ru[XX.XXX.XX.XXX] refused to talk to me: 554-mx1.*domain*.ru 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.)
Nov 3 13:34:05 lk postfix/smtp[7666]: E045E635F9: to=<vekov.i@*domain*.ru>, relay=mx1.*domain*.ru[XX.XXX.XX.XXX]:25, delay=1486, delays=1456/0.03/30/0, dsn=4.0.0, status=deferred (host mx1.*domain*.ru[XX.XXX.XX.XXX] refused to talk to me: 554-mx1.*domain*.ru 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.)
host mx1.*domain*.ru[XX.XXX.XX.XXX] refused to talk to me: 421 #4.4.5 Too many connections from your host.
host mx1.*domain*.ru[XX.XXX.XX.XXX] said: 553 #5.1.8 Domain of sender address <bitrix@*domain*> does not exist (in reply to MAIL FROM command)
This is the mail system at host *domain*.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<info@*domain*>: host mx1.*domain*.ru[XX.XXX.XX.XXX] said: 553
#5.1.8 Domain of sender address <bitrix@*domain*> does not exist
(in reply to MAIL FROM command)
# smtp account configuration for default
account default
logfile /home/bitrix/msmtp_default.log
host localhost
port 25
from crm1@*domain*.ru
keepbcc on
auth off
Попробовал с exec():
128 ошибка...
Интернет выдал такую инфу:
128 - Invalid argument to exit. Exit takes only integer range 0 – 255.
Что в общем то не очень объяснило ситуацию.