CodeIgniter Forums
Email considered as spam - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Email considered as spam (/showthread.php?tid=41246)



Email considered as spam - El Forum - 05-02-2011

[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


Email considered as spam - El Forum - 05-03-2011

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

InsiteFX