email sent with no error, but didn't arrived |
[eluser]davidino86[/eluser]
hi, i'm trying to send an email from a form in the contact page with a javascript validation and sent to www.mysite.com/email/send this is the controller code: Code: <?php i don't know why can someone tell where is the error? thank you davide
[eluser]brianw1975[/eluser]
couple of things: did you send this from your localhost machine? if so, then it probably didn't even leave your machine as most ISPs block port 25 as a security precaution to reduce spam. if not, what domain did you send it TO? If yahoo.com, do you have domainkeys set up for your domain? have you checked the recipients spam folder? have you verified that your own domain is not on a blacklist somewhere?
[eluser]davidino86[/eluser]
yes! it's the third one.... the email arrived but in the spam. how can i solve this problem? thank you so much
[eluser]davidino86[/eluser]
just another thing: how can i put the html in the message body for the email? now i try to edit the config.php file like this: Code: $config['mailtpye'] = 'html'; but didn't work.
[eluser]davidino86[/eluser]
i solved the problem like this: in the controller email page: Code: $this->load->library('email'); hope to help someone in the future. thanks to brianw1975 |
Welcome Guest, Not a member yet? Register Sign In |