Send A Second Email to a Third Party on Checkout with Magento - email

I'm facing a problem:
I'm configuring magento store, when a customer buy something, an email is send to him, but what I need is: beyond this email, another email, with diferent template must be send to another person with the data of the purchase. How to configure this ?
Thanks

You can configure the data of order to be sent only with the same template.
To do it - go to System -> Configuration -> Sales -> Sales Emails -> Order and fill fields "Send Order Email Copy To" and "Send Order Email Copy Method".
However you can program Magento to send email with different template. To achieve it you must develop your custom extension that will:
a) add necessary fields (ability to choose different template) to above mentioned System -> Configuration -> Sales -> Sales Emails -> Order
b) overload Mage_Sales_Model_Order->sendNewOrderEmail() method to use different template for sending e-mail to third party

What I've done is:
I developed a webservice in c# that receive the OrderId, and send the email to the person I want. I call this webservice using ajax in the success method of magento.

Related

Magento 1.9 - send order admin email to different email address

I have 10 customer group in my website. I would send the order admin notification email to different address, based on user customer group.
For example.
User from customer_group_a take order will send admin notification to order1#website.com. Then user from customer_group_b take order will send admin notification to order2#website.com
Also, how can i get the customer data in order email? I try this, but not working in email/sales/order_new.html:
{{var customer.name}}
To send to different people, the best is to add the needed email adressess via system.xml to be able to edit in your back-office the emails then you will need to override app/code/core/Mage/Sales/Model/Order.php to fit with your logic. The lines that interest you are in queueNewOrderEmail() function.
Try to use the constant for the path to your config.
For the name in your template, you can normally use {{var order.customer_name}} if my memory is good or {{var order.customer.name}}. The functions getCustomer() and getCustomerName() exist in the precited class.

Email case capture in netsuite

I want to create case through email in Netsuite. I test it by sending a email to email address from Setup -> Support -> Support preferences. But it does not create a case. I have also asked Netsuite Support centre but did not get any reply.
Please suggest how to configure email case capture.

Send transactional email to client in magento before his payment

Can Magento send an email to client before his payment ? I've been looking for a week, without success!
Thankyou
Sending email when new order (regardless of payment) is placed default feature of Magentk
May be you wanna check that this option is not disabled. Go to admin panel to the "System -> Configuration -> Sales -> Sales Emails -> Order" section.
If that is enabled you have other mail issues:
Magento by default use sendmail, which normally goes junk box. But make sure sendmail is installed in hosting, talk to hostig support.
The best and recommended is to use SMPT.
That gaurantee that mail hit inbox.

display order items layout in email only for admin in magento

Whenever user place a new order in magento email will send. In this email contains order items with prices.
{{layout handle="sales_email_order_items" order=$order}}
But i need to send email to customer without order items and email to admin with order items.
So how to write condition to display this layout only for admin email.
thanks,
murali.
The order confirm e-mail is just send one time. If you configured your that the admin receives the order confirm e-mails to it's send to admin in CC.
That means that you can#t easily change the content of the e-mail for customer and admin because it's the same e-mail.
To achieve your goal you should write an own module which observes the place_order_after event and sends a seprarat e-mail to the admin e-mail-adress in which you show the products. In the standard template you would erase the part with the products.

Return a copy of an order to the orderer as well as sales

I have an order form that needs to email a copy of the order to the dealer, as well as to customer service for fulfillment. It needs to pick up the dealer's email off of the form field. http://seminolefeed.com/seminole_order_form.html -thanks for any help.
Your form needs to post the data to your web server, where a handler (that you write/wrote) will send the email.