1) Override the app/code/core/Mage/Core/Model/Email/Template/Mailer.php file in your module2) Add one protected variable $pdftemplate3) Edit the send() function4) at line around 70 put the following code
- if ($this->pdftemplate)
- $pdftemplate = $this->variable;
- else
For complete Information, Visit full Blog: Attach Invoice PDF with invoice Email in Magento
FindNerd is an effective C, Java, Android, Html, iOS, JavaScript, PHP Developer Forum, to instantly resolve your various language queries.
Apart from this, If you have any html language issue, you can post at HTML questions and answers and get instantly resolved it from highly experienced FindNerd community members.