kalkun-sms / Kalkun

Open Source Web based SMS Manager
https://kalkun.sourceforge.io/
GNU General Public License v2.0
212 stars 130 forks source link

sms to email white screen #99

Closed bjorn6969 closed 11 years ago

bjorn6969 commented 11 years ago

Hi ,

When I activat the plugin Sms to email and i want to configure it I get a white screen...

What am I doing wrong ?

Thank you,

Bjorn

fawwaz commented 11 years ago

not only sms to email does, but also sms to twitter plugin do like that.

in my opinion it has a problem with views file. the plugin views file should be updated too @bjorn6969 ? *actually i'venot open the code just using my intuititon hehehe

back2arie commented 11 years ago

Please enable error logging and paste it here. Thanks

back2arie commented 11 years ago

@bjorn6969 any updates on this issue?

bjorn6969 commented 11 years ago

Yes , could you tell me where i can find error logging for kalkun ?

Thank you

Bjorn

back2arie commented 11 years ago

Open index.php and set error_reporting to E_ALL

ornthim commented 10 years ago

Hi, I installed kalkun version :0.7 and work with gammu service fine, But I need to forward SMS to Email, How can I config, I have many try with sms-to-email plugin already but not work. Please help me. (I use on windows)

Thanks,

back2arie commented 10 years ago

Have a look on #136 #137

ornthim commented 10 years ago

Thanks in advanced, but I am still wrong configuration. the sms to email not work.

ornthim commented 10 years ago

Dear Kalkun,

Now I can send test email follow your instruction successful, But when I configure it the same as email testing as in path : kalkun/application/plugins/sms_to_email/sms_to_email.php, It still not work. Please help me what I must do more...

Thanks

here is the following result from testing of my sending email.

Your message has been successfully sent using the following protocol: smtp

User-Agent: CodeIgniter Date: Wed, 9 Apr 2014 09:39:37 +0700 From: "Your Name" Return-Path: To: orn.thim@gmail.com Subject: =?utf-8?Q?Email_Test?= Reply-To: "thim.o@digi.com.kh" X-Sender: thim.o@digi.com.kh X-Mailer: CodeIgniter X-Priority: 3 (Normal) Message-ID: 5344b2e911a49@digi.com.kh Mime-Version: 1.0

Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit

Testing the email class.

back2arie commented 10 years ago

Please post your config

ornthim commented 10 years ago

Here is my config: kalkun/application/plugins/sms_to_email/sms_to_email.php

function sms_to_email_initialize() { $config['protocol'] = 'smtp'; $config['smtp_host'] = "smtp.digi.com.kh"; $config['smtp_port'] = "25"; $config['smtp_user'] = "thim.o@digi.com.kh"; $config['smtp_pass'] = "123abc+-*"; $config['charset'] = 'utf-8'; $config['wordwrap'] = TRUE; $config['mail_from'] = 'thim.o@digi.com.kh'; $config['mail_subject'] = 'Kalkun New SMS'; return $config; }

Here for Email.php in library: kalkun/system/libraries/Email.php

class CI_Email {

var $useragent      = "CodeIgniter";
var $mailpath       = "/usr/sbin/sendmail"; // Sendmail path
#var    $mailpath       = "http://webmail.digi.com.kh/";    // Sendmail path
var $protocol       = "smtp";   // mail/sendmail/smtp
var $smtp_host      = "smtp.digi.com.kh";       // SMTP Server.  Example: mail.earthlink.net
var $smtp_user      = "thim.o@digi.com.kh";     // SMTP Username
var $smtp_pass      = "123abc+-*";      // SMTP Password
var $smtp_port      = "25";     // SMTP Port
var $smtp_timeout   = 5;        // SMTP Timeout in seconds
var $wordwrap       = TRUE;     // TRUE/FALSE  Turns word-wrap on/off
var $wrapchars      = "76";     // Number of characters to wrap at.
var $mailtype       = "text";   // text/html  Defines email formatting
var $charset        = "utf-8";  // Default char set: iso-8859-1 or us-ascii
var $multipart      = "mixed";  // "mixed" (in the body) or "related" (separate)
var $alt_message    = '';       // Alternative message for HTML emails
var $validate       = FALSE;    // TRUE/FALSE.  Enables email validation
var $priority       = "3";      // Default priority (1 - 5)
var $newline        = "\n";     // Default newline. "\r\n" or "\n" (Use "\r\n" to comply with RFC 822)
var $crlf           = "\n";     // The RFC 2045 compliant CRLF for quoted-printable is "\r\n".  Apparently some servers,
back2arie commented 10 years ago

Hmmm looks fine for me, actually you don't need to modify the email library. Please try to uninstall other plugin first, it might be the problem.

ornthim commented 10 years ago

Thank for your kind support, And fast guide.

ornthim commented 10 years ago

I have tried follow your ideas, but it still the same.