Hi,
everything works but is it normal that once the message is sent there is a red cross suggests that the message is not sent ?
regards
X3 Photo Gallery Support Forums
<br />
<b>Warning</b>: unlink() [<a href='function.unlink'>function.unlink</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/69d592bebf60581561c0be294d6008a0:/tmp:/opt/php/lib/php) in <b>/home/www/69d592bebf60581561c0be294d6008a0/web/app/cache.inc.php</b> on line <b>37</b><br />
true
At least the script is able to write files, and that is the important part. Until you see that notice in your pages, I would not be too concerned ... I might fix X3 so that it ignores the "notice" and just see's the "true" message.margouillat wrote:I think you're right, What can I do to resolve this "problem"?
To be honest, the current email implementation is pretty basic for now, and there are dozen things that can go wrong depending on your server. If you have a link, at least I can see what the error is and if it is sending or not ... in the original post here, the mailer actually works, but because of some "notice" in the success message, it thinks it didn't send ...localhost wrote:I'm also seeing the red cross (X) when trying to send an email. The message does not send though... I have put my email address on the config.php and settigs on the Panel.
cannot send from server
May I ask from what application you are using PHPMailer, and what settings you may have applied (smtp etc)? The reason I ask, is because essentially, PHPmailer just uses the standard php mail() function unless you have set it to use SMTP or another specific option.Artur wrote:Mail function is working fine on my server (at least in form like PHPMailer class
if(mail($to, $subject, $message, 'From: ' . $email)) {
return 'true'; // success!
} else {
return 'cannot send from server'; // server mail() fail
}
mjau-mjau wrote:If you have a link, at least I can see what the error is and if it is sending or not ... in the original post here, the mailer actually works, but because of some "notice" in the success message, it thinks it didn't send ...localhost wrote:I'm also seeing the red cross (X) when trying to send an email. The message does not send though... I have put my email address on the config.php and settigs on the Panel.
Basically your server just doesn't send mail with the mail() function.localhost wrote:Here's the link to my contact page Karl
http://larryanda.com/x3/contact/
if(mail($to, $subject, $message, 'From: ' . $email)) {
return 'true'; // success!
} else {
return 'cannot send from server'; // server mail() fail
}
I'm using Bluehost...mjau-mjau wrote:
May I ask who is your host?