I can't find auth::userid() on any file on my Eventum Installation.
I am using Eventum 2.2.
Gopalakrishnan.Krithivasan@stripped escribió:
> Hi,
>
> Please try executing background script by disabling Email routing interface.
>
> Userid what I have mentioned is for sender.
>
> Eventum script use auth::userid() to get userid of sender for sending mails.
>
> We can replace that line with hardcoded userid like -userid mapped to Admin@stripped
> etc.
>
> If u are not getting error then try enabling with Email Routing Interface and check
> for the errors.
>
>
> Rgs
> K.Gopalakrishnan
>
> -----Original Message-----
> From: ext Adrian Chapela [mailto:achapela.rexistros@stripped]
> Sent: Thursday, July 02, 2009 4:25 PM
> To: Krithivasan Gopalakrishnan (Nokia-D-MSW/Bangalore);
> eventum-users@stripped
> Subject: Re: Problem sending mails from Eventum
>
> Hello,
>
> I have enabled Email Routing Interface and I am sending in background too. I have
> this line on my crontab: /usr/bin/php5 /var/www/eventum/misc/process_mail_queue.php and
> every 3 minutes with parameter --fix-lock.
>
> If I disabled the Email Routing Interface, the mails are not sending. I am very
> confused now, because I think that the process_mail_queue.php and the Email Routing
> Interface are complementary.
>
> I don't understand your answer "u can set userid hardcoded for mails. ".
> What are you meaning with userid ? Are you talking about the sender userid ?
>
> Thank you
>
> Gopalakrishnan.Krithivasan@stripped escribió:
>
>> Hi,
>>
>> Two cases u will get this error.
>>
>> If u try to send mail with background script where it can't get user id which is
> mandatory for sending mail.
>>
>> If u have enabled Email Routing Interface in general setup also u will get this
> error by sending mail to localhost.
>>
>> To fix issue with background script,u can set userid hardcoded for mails.
>>
>> Please get back to me if u face any issue after doing modifications.
>>
>>
>> Rgs
>> K.Gopalakrishnan
>>
>> -----Original Message-----
>> From: ext Adrian Chapela [mailto:achapela.rexistros@stripped]
>> Sent: Thursday, July 02, 2009 3:55 PM
>> To: eventum-users@stripped
>> Subject: Problem sending mails from Eventum
>>
>> I have eventum with update notifications. Sometimes I have problem sending mails
> but I don't know why. The error is :
>>
>> Hello,
>>
>> An error was found on line '250' of script
> '/var/www/eventum/include/class.mail_queue.php'.
>>
>> The error message passed to us was:
>>
>> 'Failed to add recipient: @localhost [SMTP: Invalid response code received from
> server (code: 501, response: <@localhost>: no local part)]'
>>
>> A more detailed error message follows:
>>
>> ''
>>
>> A backtrace is available:
>>
>> APP_INC_PATH/class.mail_queue.php:193
>> Mail_Queue::_sendEmail((string )'=?UTF-8?Q??= <>', (string
>> )'MIME-Version: 1.0
>> Message-ID: <eventum.1l9j4hz7.uvcuy4@svn>
>>
>> Any idea ?
>>
>>
>> --
>> Eventum Users Mailing List
>> For list archives: http://lists.mysql.com/eventum-users
>> To unsubscribe: http://lists.mysql.com/eventum-users?unsub=1
>>
>>
>>
>>
>
>
>