Email not sending

#1
[eluser]RedIgniter[/eluser]
Code:
$this->email->to($email);
$this->email->from('kayfer.com');
$this->email->subject('kayfer.com | Account Activation');
$this->email->message($message);
$this->email->send();

this script doesn't send the e-mail unless I change both "to" and "from" to $email, which in case becomes the same e-mail, and whenever I receive the e-mail send by the script it shows that the e-mail was sent by me to me. Please help me figure out this bug or error by me, thanks in advance.

#2
[eluser]Victor Michnowicz[/eluser]
I would try the vanilla Email helper if you are just sending basic emails. I have not had good luck with the Email class on shared hosting (I have Go Daddy).

#3
[eluser]RedIgniter[/eluser]
I have hostmonster I have the space and the domain, it's just not working unless I change both email to and email from to same email address, in this case $email.

#4
[eluser]techgnome[/eluser]
The from should be an email address. kayfer.com isn't a valid email address.

Does it work if you put [email protected] as the from address?

-tg

#5
[eluser]RedIgniter[/eluser]
I mistyped, the e-mail address is [email protected] not kayfer.com


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.