简体   繁体   English

似乎无法理解Magento电子邮件发送逻辑

[英]Cannot seem to understand Magento email sending logic

Can someone please explain how Magento(1.9.0) email sending works. 有人可以解释一下Magento(1.9.0)电子邮件发送的工作原理。 I can't seem to find where the file for sending email from a contact form is. 我似乎找不到从联系表单发送电子邮件的文件在哪里。 I see that the action attribute of the form points to "contacts/index/post/" but I can't seem to trace it. 我看到表单的action属性指向“ contacts / index / post /”,但我似乎无法追踪它。

Also cannot find the mail log or the which module or service magento uses to send the email itself. 也找不到邮件日志或magento使用哪个模块或服务发送电子邮件本身。

I am trying to use external smtp server for multisite Magento and I need to do some custom logic and not some extension. 我正在尝试将外部smtp服务器用于多站点Magento,并且我需要执行一些自定义逻辑而不是某些扩展。

Please go to app\\code\\core\\Mage\\Contacts location to see all the logic of contact. 请转到app \\ code \\ core \\ Mage \\ Contacts位置以查看联系的所有逻辑。 It is used to send email or anything related to contact. 它用于发送电子邮件或与联系人有关的任何内容。

Also, if we want to change any contact settings then go to system> configuration> contacts(under general tab). 另外,如果我们要更改任何联系人设置,请转到系统>配置>联系人(在常规标签下)。

Let me know if anything else you need to know. 让我知道您是否还需要了解其他信息。

Cheers!! 干杯!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM