Quote:
Originally Posted by Logician
$subject and $message variables are empty when this hook runs. Populate them first:
eval(fetch_email_phrases('myemailphrases', $email_langid));
|
did that before the vbmail() call result still the same no errors but no email either....
strange thing is if you make an obovious syntax error like an open "" or forget a { you get an error about this and the email is sended ..... while if the code is correct nothing is sended at all don't understand that "logic" i'll make this more clear with an example.This code
PHP Code:
eval(fetch_email_phrases('reportbadpost',$email_langid);
vbmail($modoerator['email'],$subject,$message,true);
is according to PHP 's syntax not correct.A missing ")" but it perfectly sends the email while this
PHP Code:
eval(fetch_email_phrases('reportbadpost',$email_langid));
vbmail($moderator['email'],$subject,$message,true);
is correct code but no emails are send.I just don't get it