Welcome Guest, Not a member yet? Register   Sign In
Mail sending problems.
#21

[eluser]johnwbaxter[/eluser]
let me know if you find out what bit of code was fouling it all up!

Glad to be of service!
#22

[eluser]Adam Griffiths[/eluser]
[quote author="audiopleb" date="1217363199"]let me know if you find out what bit of code was fouling it all up!

Glad to be of service![/quote]

I think it's where I put...

Code:
if($name | $email | $subject | $message == NULL)
{
// blah blah
}

Which would be a dumb mistake.

Thanks for all the help!
#23

[eluser]Iverson[/eluser]
I don't think the problem was with that function. I am having the same problem and I have no idea why. I'm using the example code from the User Guide and it works fine. If I changed the subject from $this->email->subject('Email Test') to $this->email->subject($subject) where $subject is set to 'Email Test' BEFORE the email code, it says it sent, but I never receive it. I noticed that your code was passing variables instead of direct strings, so I think it's related.




Theme © iAndrew 2016 - Forum software by © MyBB