Welcome Guest, Not a member yet? Register   Sign In
CI Email library using SMTP + Rackspace Cloud?
#1

[eluser]randomdriver[/eluser]
I'm trying to use SMTP in my CI code on Rackspace Cloud and cannot seem to get it to work.

Anyone else on Rackspace and able to get this to work? Not work?

Here is the code:

config file has all the SMTP settings.
Code:
$this->email->from('[email protected]');
$this->email->reply_to($this->input->post('useremail'), $this->input->post('username'));
                $this->email->to('[email protected]');

                $this->email->subject('Contact Form');
                $this->email->message($this->input->post('message'));

                $this->email->send();
                
                echo $this->email->print_debugger();

Rackspace support is pretty worthless, as is their environment. Here is what their KB article says:
http://cloudsites.rackspacecloud.com/ind...tionality?

The output of the debugger:

Quote:220 relay4.r5.iad.mlsrvr.com ESMTP - VA Code Section 18.2-152.3:1 forbids use of this system for unsolicited bulk electronic mail (Spam)
hello: 250-relay4.r5.iad.mlsrvr.com
250-PIPELINING
250-SIZE 75000000
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5
250-ENHANCEDSTATUSCODES
250 8BITMIME
Failed to authenticate password. Error: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
from: 250 2.1.0 Ok
to: 554 5.7.1 : Sender address rejected: Access denied
The following SMTP error was encountered: 554 5.7.1 : Sender address rejected: Access denied
data: 554 5.5.1 Error: no valid recipients
The following SMTP error was encountered: 554 5.5.1 Error: no valid recipients
221 2.7.0 Error: I can break rules, too. Goodbye.
The following SMTP error was encountered: 221 2.7.0 Error: I can break rules, too. Goodbye.
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Tue, 24 Aug 2010 18:28:15 -0500
From:
Return-Path:
Reply-To: "Andrew"
To: [email protected]
Subject: =?iso-8859-1?Q?Contact_Form?=
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0


Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Why isn't this working?
#2

[eluser]randomdriver[/eluser]
The forum here is changing the URL. It ends in ?, I think this forum is decoding it back to ?




Theme © iAndrew 2016 - Forum software by © MyBB