Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
6
votes
3answers
9k views

Magento 2 How to configure Gmail SMTP for email sending?

In Magento 2, the username and password are no longer set in template.php under Email module. How can I use Gmail SMTP for email sending in Magento 2? How to configure it? Thanks
12
votes
3answers
4k views

How to render data type html in template email magento2?

I have email template in Magento 2: email-template.html {{template config_path="design/email/header_template"}} {{trans "%body" body=$data.body}} {{template config_path="design/email/...
1
vote
1answer
477 views

Send email to some customers in magento

How to send mail to customer whenever Seller add new product. Note : If Seller Upload 100 Product Customer will get only one mail not 100 mail how write cron job for this public function ...
6
votes
2answers
30k views

How to get json data on frontend in magento

I have a custom module, which uses for email varification in frontend of magento. This module will appear as a popup in homepage while it loads. I want to do some other functionings such as display ...
5
votes
5answers
11k views

How to disable the sending of Magento's default Success Email Template upon newsletter sign-up

Magento CE 1.9.0.1 We recently signed up for an email and list management service that taps into Magento and allows us to manage all transactional and newsletter emails through their application. ...
2
votes
3answers
859 views

How can I protect my Magento site from spam?

I#'m using 1.9.2.0 and the rwd theme, however since our site went online I'm getting many spam Mails via contact form. I already downloaded the Re-Captcha extension but it doesn't fit in our theme. ...
1
vote
2answers
12k views

Does Magento send order cancellation emails?

I have been placing and cancelling orders allday without receiving any cancellation confirmation emails and thought maybe Magento 1.7 doesn't support this feature!?! If anyone has had the requirement ...
9
votes
1answer
2k views

Magento Advanced/System/Cron* settings

Synopsis So I wanted to confirm my understanding of the cron configurations with Magento; under the admin console System > Configuration > Advanced > System > Cron: Generate Schedules ...
7
votes
3answers
17k views

How to style transactional email with email-inline.css

I am using Magento 1.9.1. I want to customize my Magento Transactional Emails. To do so, I duplicated email-inline.css and email-non-inline.css from base package into my customized package (into this ...
7
votes
3answers
11k views

How to get magento store email address and name in my custom module?

I created own module, there how to get sender name and email ? I have to create custom admin config option like Email Sender. Here i used below code, to set drop-down then i don't know how to get ...
5
votes
1answer
15k views

Transactional Email: How to customize shipping address variable/html {{var order.getShippingAddress().format('html')}}

I am customizing Magento's transactional emails and am trying to remove the Telephone/Fax from displaying in the email as they are displaying as: T:- F:- The transactional mail template for new ...
4
votes
1answer
2k views

Price(float number) in transactional email

If i put in email template {{var order.shipping_amout}} i will get it like : 12.00000 How i can make it normal (ex. 12.00) ? Thanks for any hints.
4
votes
3answers
16k views

Magento 2 SMTP settings

I've got a fresh magento 2 installation on a virgin test system, but I can't find the settings for a smtp connection. How do you manage email communication in magento 2?
3
votes
3answers
11k views

Magento 1.9.1 Order emails not sent - cron checked - stuck in core_email_queue

I've got a Magento 1.9.1 implementation and am having issues sending out order related emails. I have checked cron jobs and AOE Scheduler reports core_email_queue_sendall and ...
3
votes
2answers
5k views

Adding transactional email template to transaction email list by custom module

Can somebody please explain the best practice to add a transactional email to the transactional email list that can be found in the backend at system->transactional emails ? I know that I need to ...
3
votes
3answers
2k views

Magento 2: Inline styles for emails are applying partly

For example, There is a "New order" template. The styles for this template are placed in app/design/frontend/Vendor/Theme/Magento_Sales/web/css/source/_email.less Here's an example of styles: ....
2
votes
2answers
6k views

How to send mail from custom module?

Data.php const XML_PATH_EMAIL_NOTIFICATION_TEMPLATE = 'order_attachments_receive_email_notification'; public function getEmailAddress() { return Mage::getStoreConfig('orderattachments/...
1
vote
0answers
111 views

how to call phtml file in email template in magento2

I need to pass the phtml file into email template. but I'm getting error like Error filtering template: Invalid template file: 'Vendor_Module::emailproducts.phtml' in module: '' block's name: '...
1
vote
1answer
35 views

Attribute info in email

How can I add this part, it is a child attribute Into email, which is sent to customers? Unfortunately now I have only the name, and sku in the email
1
vote
1answer
2k views

Attach invoice to shipment email

In /app/code/local/Mage/Sales/Model/Order/Shipment.php I added the following lines in sendEmail() funtion: $invoice = Mage::getModel('sales/service_order', $order)->prepareInvoice(); $pdf = Mage::...
1
vote
1answer
976 views

Cannot subscribe email newsletter to second storeview: email already exists

we have several storeviews. And until recently I noticed that if 1 email is subscribed to storeview A (store) it cannot be added to storeview B (store). We use this block on a page to add the ...
1
vote
4answers
2k views

How to add backorder message to transactional emails

I want to add extra information in a transactional email when the order has a product which is backordered. I know where and how to edit the email templates following this guide: http://www....
1
vote
1answer
6k views

Where is the code that sends an email when an account is being activated in the backend?

I'm working on shop where the customers will be imported by CSV, new customers will have NO password (password_hash = ""). The administrator will have to activate the new customers using the backend. ...
0
votes
2answers
3k views

Transactional email templating syntax - calling a helper or model method and assign to variable

In the email templating syntax. Is it possible to assign a return value of a magento helper to a variable? For example this would be perfect: {{var myVar = helper(myhelper).helperMethod }} i.e. i ...
0
votes
2answers
50 views

division of two variables is returning zero , in magento2 WHY?

i have function which should return price of single product on email recipt: File location : C:\xampp\htdocs\project\vendor\magento\module-sales\view\frontend\templates\email\items\order\default....
6
votes
1answer
2k views

magento 2 add/call css file in email template of custom module

I am trying to add inline css in email template in my custom module. Example <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" ...
3
votes
2answers
3k views

Magento 2: 'Invalid sender data' While sending custom Email

Below is code that i am using send mail , and getting 'Invalid sender data' <?php namespace Mycompany\Orderupdate\Helper; use Exception; use Psr\Log\LoggerInterface; use Magento\...
3
votes
1answer
4k views

Hostname validation; new gTLD & store email addresses [duplicate]

UPDATE: While I got the answer I needed down below, this question was later asked again in this post and received a more elaborate answer. My magento store is hosted on a 'new' gTLD (.boutique), but ...
3
votes
2answers
2k views

Some transactional emails are not being sent

I have SMTP PRO in Magento 1.9 hosted on AWS. The new account emails, and comments work well, but the email of new orders, change of status and billing are not sent. I have no errors or helpful ...
2
votes
2answers
7k views

Magento 2: How to solve the message “Unable to send email”?

My Magento 2 send an email when I register in the newsletter, but I receive that exception all time: How can I solve it? Thanks
2
votes
2answers
710 views

Magento 1.9 Custom Module Form $mail = new Zend_Mail(); include more $params

I created a simple custom module and have a problem with $parmas which I can't figure out for hours now. Here is the IndexController.php responsible for it: public function sendemailAction() ...
2
votes
2answers
457 views

M 1.9.0.1 - path hints showing in order email

Believe it or not but my customer forwarded an order-email where the template path hints of the single blocks are showing. Nothing changed in config Path hints disabled Developer client IP set It ...
2
votes
3answers
1k views

Magento after upgrading order update email sending duplicate emails

After upgrading to magento 1.9.0.1 from 1.6 order update email is ending 7 times, i had set "Send Order Comments Email Copy Method" to "Seperate Email" and added 7 email ids in "Send Order Comment ...
2
votes
5answers
2k views

Magento2: How to get guest email address in checkout?

Please, how to get guest email address in checkout?
2
votes
3answers
5k views

How to add new Template Variable in magento

I want to add new template variable and use it in transactional email template from backend. Same as "Confirmation URL". Please refer to screen shot: Thanks!!!
2
votes
2answers
6k views

How to add cc or bcc in custom email

I have created a transactional email template and sending mail using below code : $to_user_email = 'test@gmail.com'; $to_user = 'test'; $emailTemplate = Mage::getModel('core/email_template')->...
2
votes
1answer
2k views

Add custom data with order email content magento

I want to add custom data in order confirmation email. I have vehicle information that are attached to the order email to show to customer their vehicle make, model, year. These values are attached ...
2
votes
2answers
1k views

Transactional email event

Some of my customers have second email address as customer attribute. I would like to send an copy of every transactional email to customer second email address. I wonder - if magento have event which ...
2
votes
3answers
259 views

How to send an Confirmation email when customer has login successfully?

I want to send a confirmation mail to the customer when has customer login. Please let me know how can I achieve it. I am using Magento 1.9.2. this is my _loginPostRedirect() function code ...
1
vote
2answers
7k views

Magento 1.9.2.3 Email-Queue not working

After installing the last patch 1.9.2.3 i can't send order notifications. When i run the cron it tries to send the E-Mail but i get the following error. exception 'Zend_Mail_Transport_Exception' ...
1
vote
2answers
548 views

Send an email a month after order is “complete”?

I neeed a recommendation on what's the best way to send an email 1 month after order is completed (it's an email that asks to review the product). Should I use cronjob and check every day for orders ...
1
vote
2answers
131 views

Magento2 : Order Items Email Template Adjustment

I need to add align="right" in th(i.e Subtotal, Shipping & Handling, Grand Total) to align right on tfoot. I have found that its rendering from the below code under Magento_Sales/templates/email/...
1
vote
1answer
1k views

Gmail ignoring Reply-To field in my Magento emails

My company uses Google Apps for Business. We've created a contact form on our site that captures users' comments on the checkout page. I wanted to set the Reply-To field as the user's email address (...
1
vote
3answers
4k views

New customer registration emails sent from server not received by some customers

New customer registration emails that send out the link to confirm account are logged as sent from server in the linux server logs but are not received by some customers. For example: new account with ...
1
vote
1answer
5k views

Send email after order is canceled

I am trying to send an email when order is canceled. I followed this tutorial: http://www.atwix.com/magento/emails-for-custom-events/ Here is my code i need help setting it up becouse now it is ...
1
vote
1answer
2k views

Magento 2: SMTP Email gives error “Invalid sender data”

Using Magento 2 Version 2.1.0 on WAMP Windows 10 I'm using https://github.com/magepal/magento2-gmailsmtpapp In magento Admin, then goto Stores -> Configuration -> Advanced -> System -> Gmail/Google ...
1
vote
1answer
2k views

Notify for Quantity Below in Magento 2

I have a requirements to notify the admin through email when a product quantity goes below 5 in Magento 2.0.7. I have found that there is option on the admin: System > Configuration > Catalog > ...
1
vote
1answer
121 views

Magento get Seller SKU In order Mail

We are using Marketplace in my website also some product have more then one seller. Even every seller have unique SKU. While Place order Customer got a mail that mail contain only Base seller sku not ...
1
vote
1answer
1k views

SQL to get customer emails by attribute set of products bought

@I would like to export a list of customer emails who have bought a product belonging to a specific attribute set. Im unsure on where to gather the customer email informaiton from
1
vote
1answer
2k views

Magento dont send transactional mails

My Magento only send mails from app\locale\en_US\template\email (confirmation mail, new account, ...) dont send from app\locale\en_US\template\email\sales or the transactional mails. I create new ...