Megento 2 issue sending email from module [closed]New email template not sendingEmail sending issue in Magento CE 1.9.2.1SMTP & Email Sending ErrorsSending custom email to multiple email address issueSending custom email for custom module - Magento2Email sending issues 1.9.xEmail Sending as System HostnameWelcome Email 1.9 disable sending this emailMagento 2 ErrorEmail not sending from admin in magento2
Writing computer program code for free in an interview?
Why do my fried eggs start browning very fast?
Did Captain America make out with his niece?
What does the ISO setting for mechanical 35mm film cameras actually do?
Does a humanoid possessed by a ghost register as undead to a paladin's Divine Sense?
Examples of hyperbolic groups
Write The Shortest Program to Calculate Height of a Binary Tree
What could prevent players from leaving an island?
Getting an entry level IT position later in life
Why should I "believe in" weak solutions to PDEs?
Is there a way to improve my grade after graduation?
Pronouns when writing from the point of view of a robot
If someone else uploads my GPL'd code to Github without my permission, is that a copyright violation?
Is a switch from R to Python worth it?
Only charge capacitor when button pushed then turn on LED momentarily with capacitor when button released
Tile the chessboard with four-colored triominoes
Why do proponents of guns oppose gun competency tests?
How to win against ants
How to approach protecting my code as a research assistant? Should I be worried in the first place?
Not been paid even after reminding the Treasurer; what should I do?
The Game of the Century - why didn't Byrne take the rook after he forked Fischer?
How and where to get you research work assessed for PhD?
I was contacted by a private bank overseas to get my inheritance
Will a research paper be retracted if the code (which was made publically available ) is shown have a flaw in the logic?
Megento 2 issue sending email from module [closed]
New email template not sendingEmail sending issue in Magento CE 1.9.2.1SMTP & Email Sending ErrorsSending custom email to multiple email address issueSending custom email for custom module - Magento2Email sending issues 1.9.xEmail Sending as System HostnameWelcome Email 1.9 disable sending this emailMagento 2 ErrorEmail not sending from admin in magento2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
<?php
namespace SixwebsoftStockRequestControllerIndex;
use BraintreeException;
use MagentoFrameworkMailTemplateTransportBuilder;
class Booking extends MagentoFrameworkAppActionAction
protected $resultPageFactory;
protected $transportBuilder;
public function __construct(
MagentoFrameworkAppActionContext $context,
MagentoFrameworkViewResultPageFactory $resultPageFactory,
TransportBuilder $transportBuilder
)
$this->resultPageFactory = $resultPageFactory;
$this->transportBuilder = $transportBuilder;
parent::__construct($context);
public function execute()
$post = $this->getRequest()->getPostValue();
if (!empty($post))
$customer_email = $this->getRequest()->getPost('email');
$sender_fullname = $this->getRequest()->getPost('firstname') . ' ' . $this->getRequest()->getPost('lastname');
$senderInfo = [
'name' => 'admin',
'email' => 'rakesh.jesadiya@krishtechnolabs.com',
];
$storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE;
$transport = $this->transportBuilder
->setTemplateIdentifier('contact_form')
->setTemplateOptions(
[
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
]
)->setTemplateVars(['data' => 'nonprende'])
->setFrom($senderInfo)
->addTo('a.giorgini@hoopcommunication.it')
->getTransport();
$transport->sendMessage();
return $this->resultPageFactory->create();
email magento2.2.6
closed as unclear what you're asking by Rohan Hapani, Jai, Aasim Goriya, Muhammad Hasham, Shoaib Munir Jul 28 at 9:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
<?php
namespace SixwebsoftStockRequestControllerIndex;
use BraintreeException;
use MagentoFrameworkMailTemplateTransportBuilder;
class Booking extends MagentoFrameworkAppActionAction
protected $resultPageFactory;
protected $transportBuilder;
public function __construct(
MagentoFrameworkAppActionContext $context,
MagentoFrameworkViewResultPageFactory $resultPageFactory,
TransportBuilder $transportBuilder
)
$this->resultPageFactory = $resultPageFactory;
$this->transportBuilder = $transportBuilder;
parent::__construct($context);
public function execute()
$post = $this->getRequest()->getPostValue();
if (!empty($post))
$customer_email = $this->getRequest()->getPost('email');
$sender_fullname = $this->getRequest()->getPost('firstname') . ' ' . $this->getRequest()->getPost('lastname');
$senderInfo = [
'name' => 'admin',
'email' => 'rakesh.jesadiya@krishtechnolabs.com',
];
$storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE;
$transport = $this->transportBuilder
->setTemplateIdentifier('contact_form')
->setTemplateOptions(
[
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
]
)->setTemplateVars(['data' => 'nonprende'])
->setFrom($senderInfo)
->addTo('a.giorgini@hoopcommunication.it')
->getTransport();
$transport->sendMessage();
return $this->resultPageFactory->create();
email magento2.2.6
closed as unclear what you're asking by Rohan Hapani, Jai, Aasim Goriya, Muhammad Hasham, Shoaib Munir Jul 28 at 9:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09
add a comment |
<?php
namespace SixwebsoftStockRequestControllerIndex;
use BraintreeException;
use MagentoFrameworkMailTemplateTransportBuilder;
class Booking extends MagentoFrameworkAppActionAction
protected $resultPageFactory;
protected $transportBuilder;
public function __construct(
MagentoFrameworkAppActionContext $context,
MagentoFrameworkViewResultPageFactory $resultPageFactory,
TransportBuilder $transportBuilder
)
$this->resultPageFactory = $resultPageFactory;
$this->transportBuilder = $transportBuilder;
parent::__construct($context);
public function execute()
$post = $this->getRequest()->getPostValue();
if (!empty($post))
$customer_email = $this->getRequest()->getPost('email');
$sender_fullname = $this->getRequest()->getPost('firstname') . ' ' . $this->getRequest()->getPost('lastname');
$senderInfo = [
'name' => 'admin',
'email' => 'rakesh.jesadiya@krishtechnolabs.com',
];
$storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE;
$transport = $this->transportBuilder
->setTemplateIdentifier('contact_form')
->setTemplateOptions(
[
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
]
)->setTemplateVars(['data' => 'nonprende'])
->setFrom($senderInfo)
->addTo('a.giorgini@hoopcommunication.it')
->getTransport();
$transport->sendMessage();
return $this->resultPageFactory->create();
email magento2.2.6
<?php
namespace SixwebsoftStockRequestControllerIndex;
use BraintreeException;
use MagentoFrameworkMailTemplateTransportBuilder;
class Booking extends MagentoFrameworkAppActionAction
protected $resultPageFactory;
protected $transportBuilder;
public function __construct(
MagentoFrameworkAppActionContext $context,
MagentoFrameworkViewResultPageFactory $resultPageFactory,
TransportBuilder $transportBuilder
)
$this->resultPageFactory = $resultPageFactory;
$this->transportBuilder = $transportBuilder;
parent::__construct($context);
public function execute()
$post = $this->getRequest()->getPostValue();
if (!empty($post))
$customer_email = $this->getRequest()->getPost('email');
$sender_fullname = $this->getRequest()->getPost('firstname') . ' ' . $this->getRequest()->getPost('lastname');
$senderInfo = [
'name' => 'admin',
'email' => 'rakesh.jesadiya@krishtechnolabs.com',
];
$storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE;
$transport = $this->transportBuilder
->setTemplateIdentifier('contact_form')
->setTemplateOptions(
[
'area' => MagentoFrameworkAppArea::AREA_FRONTEND,
'store' => MagentoStoreModelStore::DEFAULT_STORE_ID,
]
)->setTemplateVars(['data' => 'nonprende'])
->setFrom($senderInfo)
->addTo('a.giorgini@hoopcommunication.it')
->getTransport();
$transport->sendMessage();
return $this->resultPageFactory->create();
email magento2.2.6
email magento2.2.6
asked Jul 26 at 18:59
Drake sixwebsoftDrake sixwebsoft
6
6
closed as unclear what you're asking by Rohan Hapani, Jai, Aasim Goriya, Muhammad Hasham, Shoaib Munir Jul 28 at 9:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by Rohan Hapani, Jai, Aasim Goriya, Muhammad Hasham, Shoaib Munir Jul 28 at 9:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by Rohan Hapani, Jai, Aasim Goriya, Muhammad Hasham, Shoaib Munir Jul 28 at 9:44
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09
add a comment |
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
what issue/error you are facing? please explain!
– Piyush
Jul 26 at 19:24
Can you please describe what issue you are facing into above code?
– Dhiren Vasoya
Jul 27 at 5:09