Hi there,
I have a site has two folder httpdocs and httpsdocs. All secured contents are in httpsdocs folder. I am trying to send am email from the secured content and want to attach a file from the non secured folder(httpdocs). For some reason I can not even check the file existance on the other.
Here are the full paths for secrued and non secured folders
/var/www/vhosts/gsmiweb.com/subdomains/events/httpdocs
/var/www/vhosts/gsmiweb.com/subdomains/events/httpsdocs
Any help appriciated.
Thanks
-Murali
how to attach a file in a Email
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: how to attach a file in a Email
It sounds like it might be a permissions problem. What is the code that is trying to open/read the file?
(#10850)
Re: how to attach a file in a Email
Trying to attach the file part of the email.
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: how to attach a file in a Email
You need to have error reporting on and it will tell you what the error is (permission denied, file not found, etc...)
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: how to attach a file in a Email
I meant -- show us the code.rmurali wrote:Trying to attach the file part of the email.
(#10850)