Problem with sent email |
[eluser]Halan Batista[/eluser]
Hello... How are you? I am having difficulties. I have a code for sending e-mail, but it sends twice the same email but in different ways. Follow the code below: Code: //faz envio de e-mail The first email comes correct working links and text wrapping: Code: Olá, Halan Schlickmann But the second gets no link and the text broken: Code: Olá, Halan Schlickmann
[eluser]Rok Biderman[/eluser]
These two lines both send email, so it's only normal you get it twice. Code: $this->email->send(); It's also a bit hard to imagine what the if clause is supposed to do. I suggest you do something like this: Code: $data['message']=$this->email->send()?'Message successfully sent!':'Error while sending!'; so you can use it easily in a further view to acknowledge the email being sent.
|
Welcome Guest, Not a member yet? Register Sign In |