• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
my email has no message and attachment

#5
[eluser]sushi[/eluser]
Thanks again insiteFX, the issue has been solved by accident.

As we can see,
$path = $this->config->item(‘server_root’); [defined in the config.php]

The 'server_root' really gives you up to the server's root! It is so wonderful.

And do you know what? My project is in a project folder within root, and day1 is within that project folder, so the following snippet
$file = $path . ‘/day1/attachments/somenote.txt’; is missing a folder in front of day1!!!!

This is why I said the email suddenly doesn't work properly, because before I moved email file into a project folder it is bared under the root!

Any way there is not an issue, codes were perfect.

Thanks a lot for your help.


Messages In This Thread
my email has no message and attachment - by El Forum - 07-13-2012, 01:30 PM
my email has no message and attachment - by El Forum - 07-13-2012, 05:14 PM
my email has no message and attachment - by El Forum - 07-13-2012, 06:02 PM
my email has no message and attachment - by El Forum - 07-13-2012, 11:39 PM
my email has no message and attachment - by El Forum - 07-14-2012, 05:09 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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