开发者

Email to a friend in Product view page is not working

There is Email to a Friend (a kind of Referring to a friend开发者_开发问答) functionality in Magento. You can see the "Email to a Friend" link in Product view page.

Whenever I try to send email to a friend from this, I get the following error:-

Some emails was not sent

I have configured Host from System -> Configuration -> ADVANCED -> System -> Mail Sending Settings.

I have also configured SMTP and sendmail_from in php.ini file.

Any idea why I am getting this error?


Problem solved.

The problem was with another module which I was using. This module was overriding SendFriend Model class (Mage_Sendfriend_Model_Sendfriend).

My problem will be helpful to those who fall on similar type of situation.

When the core code seems to be working well or when you haven't changed any core code.. even then you are getting problem in Magento default functionality.

The reason can be some local or community module overriding the core classes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜