Welcome Guest, Not a member yet? Register   Sign In
Send email problem
#1

[eluser]vikas khairnar[/eluser]
Hello,

I am calling one function of controller through jQuery ajax and that function,I was written one mail send code of CI but when ajax is executed mail was not send at all.
I was printed error through $this->email->print_debugger() which is as follows:

Your message has been successfully sent using the following protocol: mail<br /><pre>From: "collegestack.com" <[email protected]>
Return-Path: <[email protected]>
Reply-To: "[email protected]" <[email protected]>
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_4cc9414a79458"
This is a multi-part message in MIME format.
Your email application may not support this format.

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

expires:10-29-2010 05:24 am cannot be combined - valid at participating
location(end)


--B_ALT_4cc9414a79458
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Dominos Pizza
&lt;br&gt;&lt;br&gt;expires:10-29-2010 05:24 am cannot be combined - valid at participa=
ting location(end)

--B_ALT_4cc9414a79458--</pre>


Please suggest why mail is not send.I am not getting any mail in my mailbox.
#2

[eluser]Narkboy[/eluser]
Three questions -

1) Did the ajax call work? Was the controller actually called?
2) There's no 'To:' field - did you remove it for privacy?
3) Have you been able to make the email work direct from the controller (removing the AJAX call)?

/B




Theme © iAndrew 2016 - Forum software by © MyBB