Sending Email Problems |
[eluser]the_one[/eluser]
Hi to everybody, I am new to CodeIgniter, and i am following the tutorials on NET TUTS. When i am trying to send a email with subject, message and attached file, i just receive a email with only the subject. Here is the code Code: $name = $this->input->post('name'); and here is my configuration Code: $config['protocol'] = 'smtp'; which is in a separate file in the config folder. I don't know what am i doing wrong, can someone help me? I am working on Ubuntu Linux
[eluser]InsiteFX[/eluser]
Try changing this: Code: $this->email->message('You\'ve now singed up, fool!'); To this: Code: $this->email->message("You\'ve now singed up, fool!"); InsiteFX
[eluser]echoDreamz[/eluser]
[quote author="InsiteFX" date="1285327432"]Try changing this: Code: $this->email->message('You\'ve now singed up, fool!'); To this: Code: $this->email->message("You\'ve now singed up, fool!"); InsiteFX[/quote] Those are both the same, the first one should work as he is escaping single quote with the backslash. The second one there is no need for the escape sequence as you are using double quotes, not single quotes.
[eluser]the_one[/eluser]
[quote author="InsiteFX" date="1285327432"]Try changing this: Code: $this->email->message('You\'ve now singed up, fool!'); To this: Code: $this->email->message("You\'ve now singed up, fool!"); InsiteFX[/quote] It's not working, i'm still getting email with only the subject and nothing more ![]() I tried the same code on Windows and on Linux, the same problem exist ![]() |
Welcome Guest, Not a member yet? Register Sign In |