i`m not sure if this is the right category to send my problem, but i`ll try.
my site is built with zend framework and is hosted on godaddy.
i have a contact form that work great. now i wanted to add that on my blog every time a comment is added i will get an email about that comment. i used zend_mail again. and on my locale machine it works.
but on the server i get this error: Message: 553 sorry, your mail was administratively denied. (#5.7.1)
i have googled it and some say its godaddy, but my contact form does work.
i attach the code for the mail sending from the comment action.
$tr = new Zend_Mail_Transport_Smtp('the godaddy smtp');
$mail = new Zend_Mail('UTF-8');
//set the From,To,and Subject headers
$mail->setSubject('a comment was added');
$name = $name;
$message = $commentField;
$postlink = 'http://www.shtigliz.com/bloging/css/post/postid/' . $theid;
// retrieve the email template
// attach the email template to the email and send it