I have made a simple function "Tell a friend" and the code is following
public function executeTell()
{
$mail = new sfMail();
$mail->addAddress($this->getRequest()->getAttribute('email'));
$mail->setFrom(sfConfig::get('sf_password_recovery_mail'));
$mail->setSubject(sfContext::getInstance()->getI18N()->__(
$this->getRequest()->getAttribute('name').' recommends you to check'));
$mail->setPriority(1);
$this->mail = $mail;
$this->name = $this->getRequest()->getAttribute('name');
$this->contentLink =
$this->getRequest()->getAttribute('contentLink');
}
Sometimes it freezes somewhere in the executeTell() and never returns
again. This happends only in prod mode
I use a local SMTP server. My php.ini is configured correctly to use
this local SMTP
Any ideas ? What could be wrong?
PHP 5.2.1
Apache 2.2.3
Sym 1.0.2
TIA
--
Haris Zukanovic
CEO
Software development and research
International Business Development, SOFTING ltd.
office +387 36 318 339
GSM +387 61 839 069
http://www.eu-softing.com
CONFIDENTIALITY NOTICE
This e-mail and any attached files, sent by a company e - mail system, contains
company confidential and/or privileged information and is intended only for the
person or entity to which it is addressed and only for the purposes therein set
forth. If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure, distribution or other use of, or taking of
any action in reliance upon, the material in this e-mail by persons or entities
other than the intended recipient is strictly forbidden.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---