CodeIgniter Forums

Full Version: Email considered as spam
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]novarli[/eluser]
I have use Email Library. Everiting is OK. Then I got email from hosting addministrator. Here is email contents :

Note: If this is the first time you received this mail, it contains the
history for the entire month so far.

Below are the recently upload scripts that contain code to send email. You
may wish to inspect them to ensure they are not sending out SPAM.

/hosting/layanant/public_html/system/helpers/email_helper.php:55: {
/hosting/layanant/public_html/system/helpers/email_helper.php:56: return
mail($recipient, $subject, $message);
/hosting/layanant/public_html/system/helpers/email_helper.php:57: }
---
/hosting/layanant/public_html/system/libraries/Email.php:31: var $useragent
= "CodeIgniter";
/hosting/layanant/public_html/system/libraries/Email.php:32: var $mailpath =
"/usr/sbin/sendmail"; // Sendmail path
/hosting/layanant/public_html/system/libraries/Email.php:33: var $protocol =
"mail"; // mail/sendmail/smtp
---
/hosting/layanant/public_html/system/libraries/Email.php:1516: /**
/hosting/layanant/public_html/system/libraries/Email.php:1517: * Send using
mail()
/hosting/layanant/public_html/system/libraries/Email.php:1518: *
---
/hosting/layanant/public_html/system/libraries/Email.php:1525: {
/hosting/layanant/public_html/system/libraries/Email.php:1526: if ( !
mail($this->_recipients, $this->_subject, $this->_finalbody,
$this->_header_str))
/hosting/layanant/public_html/system/libraries/Email.php:1527: {
---
/hosting/layanant/public_html/system/libraries/Email.php:1539:
/hosting/layanant/public_html/system/libraries/Email.php:1540: if ( !
mail($this->_recipients, $this->_subject, $this->_finalbody,
$this->_header_str, "-f ".$this->clean_email($this->_headers['From'])))
/hosting/layanant/public_html/system/libraries/Email.php:1541: {
---
/hosting/layanant/public_html/system/language/english/email_lang.php:7:
$lang['email_no_recipients'] = "You must include recipients: To, Cc, or
Bcc";
/hosting/layanant/public_html/system/language/english/email_lang.php:8:
$lang['email_send_failure_phpmail'] = "Unable to send email using PHP
mail(). Your server might not be configured to send mail using this
method.";
/hosting/layanant/public_html/system/language/english/email_lang.php:9:
$lang['email_send_failure_sendmail'] = "Unable to send email using PHP
Sendmail. Your server might not be configured to send mail using this
method.";
---

What should I do? I used CI 2.0

El Forum

[eluser]InsiteFX[/eluser]
Fix your errors in your email!

InsiteFX