Welcome Guest, Not a member yet? Register   Sign In
Success sending Email via Browser but Error when run via CLI
#1

[eluser]Unknown[/eluser]
I have created a function to send email. This function is Ok when I run via browser, but when I try to run via Command Line Interface, this function failed and this is log i got:

Code:
DEBUG - 2013-01-12 15:09:57 --> Config Class Initialized
    ERROR - 2013-01-12 15:09:57 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/myapp/system/libraries/Log.php 106
    ....
    DEBUG - 2013-01-12 15:09:57 --> Database Driver Class Initialized
    ERROR - 2013-01-12 15:09:57 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/myapp/system/libraries/Log.php 106
    DEBUG - 2013-01-12 15:09:57 --> Helper loaded: file_helper
    ERROR - 2013-01-12 15:09:57 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/myapp/system/libraries/Log.php 106
    DEBUG - 2013-01-12 15:09:57 --> Email Class Initialized
    ERROR - 2013-01-12 15:09:57 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/myapp/system/libraries/Log.php 106
    DEBUG - 2013-01-12 15:10:00 --> Language file loaded: language/english/email_lang.php
    ERROR - 2013-01-12 15:10:00 --> Severity: Warning  --> chmod(): Operation not permitted /var/www/myapp/system/libraries/Log.php 106
    DEBUG - 2013-01-12 15:10:00 --> Unable to send email using PHP mail().  Your server might not be configured to send mail using this method.
From: "TEST"
    Return-Path:
    Reply-To: "[email protected]"
    X-Sender: [email protected]
    X-Mailer: CodeIgniter
    X-Priority: 3 (Normal)
    Message-ID: <[email protected]>
    Mime-Version: 1.0

I'v spent many hours but could not find solution. Please help me solve this problem and sorry for my bad English




Theme © iAndrew 2016 - Forum software by © MyBB