HI,我试图让我的自定义模块事务电子邮件。 我的模块需要有三个默认emails.One通知预留请求进行审核,另外两个用于sucess和失败发送。 当我试图把它完全发送sucess预约请求的电子邮件,但是当我试图做到这一点对sucess或失败,它将给我以下错误:无效的事务电子邮件代码:数组
这里是config.xml中MYSOURCE码
<global><template>
<email>
<reservation_senderinfo_trans_email_id translate="label" module="reservation">
<label>Store Reservation</label>
<file>vantage/reservation/store_reservation.html</file>
<type>html</type>
</reservation_senderinfo_trans_email_id>
<reservation_senderinfo_confirm_email translate="label" module="reservation">
<label>Store Reservation sucess</label>
<file>vantage/reservation/success.html</file>
<type>html</type>
</reservation_senderinfo_confirm_email>
<reservation_senderinfo_reject_email translate="label" module="reservation">
<label>Store Reservation Reject</label>
<file>vantage/reservation/reject.html</file>
<type>html</type>
</reservation_senderinfo_reject_email>
</email>
</template><global>
这里是我的system.xml文件
<?xml version="1.0"?>
<config>
<sections>
<reservation translate="label" module="reservation">
<class>separator-top</class>
<label>Reservation</label>
<tab>vantage</tab>
<frontend_type>text</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<senderinfo translate="label">
<label>Sender Information</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<sender_name translate="label">
<label>Name</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</sender_name>
<email_add translate="label">
<label>Email Address</label>
<frontend_type>text</frontend_type>
<sort_order>2</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</email_add>
<trans_email_id translate="label">
<label>Reservation Template</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_email_template</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</trans_email_id>
<confirm_email translate="label">
<label>Confirmation Template</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_email_template</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</confirm_email>
<reject_email translate="label">
<label>Reject Template</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_email_template</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</reject_email>
<trans_email_bcc translate="label">
<label>BCC</label>
<frontend_type>text</frontend_type>
<sort_order>4</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</trans_email_bcc>
<trans_email_cc translate="label">
<label>CC</label>
<frontend_type>text</frontend_type>
<sort_order>3</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</trans_email_cc>
</fields>
</senderinfo>
</groups>
</reservation>
</sections>
</config>
任何帮助将不胜感激