how to fix 5.5.2 Syntax error. m189sm22281031qkf.2 - gsmtp in magento 2 email [on hold] Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Magento 2.1: Invoke urlBuilder->getUrl() in a controller in a custom moduleMagento 2: How to override newsletter Subscriber modelMagentoFrameworkObjectManagerObjectManager givenMagento offline custom Payment method with drop down listMagento 2 Create dynamic array From different Model Collection to use in multi select in gridMonolog Error After 2.2 UpgradePHP fatal error: Uncaught TypeError: Argument 2 passed to MagentoCatalogPluginBlockTopmenuMagento 2.3 Can't view module's front end page output?Magento 2 Error
How to rotate it perfectly?
Is it possible to ask for a hotel room without minibar/extra services?
Stop battery usage [Ubuntu 18]
Blender game recording at the wrong time
Active filter with series inductor and resistor - do these exist?
Single author papers against my advisor's will?
If A makes B more likely then B makes A more likely"
Mortgage adviser recommends a longer term than necessary combined with overpayments
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
How can you insert a "times/divide" symbol similar to the "plus/minus" (±) one?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Why does tar appear to skip file contents when output file is /dev/null?
Who can trigger ship-wide alerts in Star Trek?
Unable to start mainnet node docker container
What computer would be fastest for Mathematica Home Edition?
How do I automatically answer y in bash script?
Unexpected result with right shift after bitwise negation
How do you clear the ApexPages.getMessages() collection in a test?
What do you call the holes in a flute?
Why does this iterative way of solving of equation work?
What is the order of Mitzvot in Rambam's Sefer Hamitzvot?
Fishing simulator
3 doors, three guards, one stone
Did the new image of black hole confirm the general theory of relativity?
how to fix 5.5.2 Syntax error. m189sm22281031qkf.2 - gsmtp in magento 2 email [on hold]
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?Magento 2.1: Invoke urlBuilder->getUrl() in a controller in a custom moduleMagento 2: How to override newsletter Subscriber modelMagentoFrameworkObjectManagerObjectManager givenMagento offline custom Payment method with drop down listMagento 2 Create dynamic array From different Model Collection to use in multi select in gridMonolog Error After 2.2 UpgradePHP fatal error: Uncaught TypeError: Argument 2 passed to MagentoCatalogPluginBlockTopmenuMagento 2.3 Can't view module's front end page output?Magento 2 Error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
controller
delete.php
<?php
namespace WebkulMpquotesystemControllerAdminhtmlManagequotes;
use MagentoBackendAppAction;
use WebkulMpquotesystem;
class Delete extends MagentoBackendAppAction
protected $_mpQuoteHelper;
protected $_mpquoteMailHelper;
protected $_collectionFactory;
protected $_objectManager;
/**
* @param ActionContext $context
* @param MpquotesystemHelperData $mpQuoteHelper
*/
public function __construct(
ActionContext $context,
MpquotesystemHelperMail $mailHelper,
MagentoFrameworkObjectManagerInterface $objectmanager,
MpquotesystemModelResourceModelQuotesCollectionFactory $collectionFactory,
MpquotesystemHelperData $mpQuoteHelper
)
parent::__construct($context);
$this->_mpQuoteHelper = $mpQuoteHelper;
$this->_mpquoteMailHelper = $mailHelper;
$this->_objectManager = $objectmanager;
$this->_collectionFactory = $collectionFactory;
protected function _isAllowed()
return $this->_authorization->isAllowed(
'Webkul_Mpquotesystem::mpquotes'
);
/**
* Delete action
*
* @return MagentoFrameworkControllerResultInterface
*/
public function execute()
$data = $this->getRequest()->getParams();
/** @var MagentoBackendModelViewResultRedirect $resultRedirect */
$resultRedirect = $this->resultRedirectFactory->create();
if ($data)
$model = $this->_mpQuoteHelper->getWkQuoteModel();
$id = $this->getRequest()->getParam('entity_id');
if ($id)
$model->load($id);
try
$model->delete();
$sellerlist='';
/* send deleted quote to email to seller and buyer - icore*/
// $objectManager = MagentoFrameworkAppObjectManager::getInstance();
$model2=$this->_objectManager->create('WebkulMpquotesystemModelSellerQuotes');
$datacollection=$model2->getCollection();
$data['quote_message']="Quote has been deleted by admin";
foreach ($datacollection as $data)
$dc=$data->getData('quote_id');
$delp=$data->getData('seller_quote_price');
foreach ((array)$dc as $test)
if($test==$id)
if($delp!=0.0000)
$sellerlist=$data->getData('seller_id');
$data['quote_message']="Quote has been deleted by admin";
if($sellerlist)
$this->_mpquoteMailHelper->quoteEditedByAdminbid(
$id,
$data['quote_message'],
'admin'
);
else
echo $id;
$this->_mpquoteMailHelper->quoteStatusMail(
$id,
$data['quote_message'],
'admin'
);
$this->messageManager->addSuccess(__('Quote is Successfully deleted'));
return $resultRedirect->setPath('*/*/');
catch (MagentoFrameworkExceptionLocalizedException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (RuntimeException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (Exception $e)
$this->messageManager->addException(
$e,
__('Something went wrong while Deleting the data.')
);
$this->_getSession()->setFormData($data);
return $resultRedirect->setPath('*/*/');
return $resultRedirect->setPath('*/*/');
delete() is working fine but when hide Delete method the email is working
how i can fix this error in email
magento2 email controllers delete smtp
put on hold as off-topic by Amit Bera♦ Apr 11 at 4:25
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about third-party modules are generally off-topic because the scope of functionality and code are not available. For more information, see this meta post/answer." – Amit Bera
add a comment |
controller
delete.php
<?php
namespace WebkulMpquotesystemControllerAdminhtmlManagequotes;
use MagentoBackendAppAction;
use WebkulMpquotesystem;
class Delete extends MagentoBackendAppAction
protected $_mpQuoteHelper;
protected $_mpquoteMailHelper;
protected $_collectionFactory;
protected $_objectManager;
/**
* @param ActionContext $context
* @param MpquotesystemHelperData $mpQuoteHelper
*/
public function __construct(
ActionContext $context,
MpquotesystemHelperMail $mailHelper,
MagentoFrameworkObjectManagerInterface $objectmanager,
MpquotesystemModelResourceModelQuotesCollectionFactory $collectionFactory,
MpquotesystemHelperData $mpQuoteHelper
)
parent::__construct($context);
$this->_mpQuoteHelper = $mpQuoteHelper;
$this->_mpquoteMailHelper = $mailHelper;
$this->_objectManager = $objectmanager;
$this->_collectionFactory = $collectionFactory;
protected function _isAllowed()
return $this->_authorization->isAllowed(
'Webkul_Mpquotesystem::mpquotes'
);
/**
* Delete action
*
* @return MagentoFrameworkControllerResultInterface
*/
public function execute()
$data = $this->getRequest()->getParams();
/** @var MagentoBackendModelViewResultRedirect $resultRedirect */
$resultRedirect = $this->resultRedirectFactory->create();
if ($data)
$model = $this->_mpQuoteHelper->getWkQuoteModel();
$id = $this->getRequest()->getParam('entity_id');
if ($id)
$model->load($id);
try
$model->delete();
$sellerlist='';
/* send deleted quote to email to seller and buyer - icore*/
// $objectManager = MagentoFrameworkAppObjectManager::getInstance();
$model2=$this->_objectManager->create('WebkulMpquotesystemModelSellerQuotes');
$datacollection=$model2->getCollection();
$data['quote_message']="Quote has been deleted by admin";
foreach ($datacollection as $data)
$dc=$data->getData('quote_id');
$delp=$data->getData('seller_quote_price');
foreach ((array)$dc as $test)
if($test==$id)
if($delp!=0.0000)
$sellerlist=$data->getData('seller_id');
$data['quote_message']="Quote has been deleted by admin";
if($sellerlist)
$this->_mpquoteMailHelper->quoteEditedByAdminbid(
$id,
$data['quote_message'],
'admin'
);
else
echo $id;
$this->_mpquoteMailHelper->quoteStatusMail(
$id,
$data['quote_message'],
'admin'
);
$this->messageManager->addSuccess(__('Quote is Successfully deleted'));
return $resultRedirect->setPath('*/*/');
catch (MagentoFrameworkExceptionLocalizedException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (RuntimeException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (Exception $e)
$this->messageManager->addException(
$e,
__('Something went wrong while Deleting the data.')
);
$this->_getSession()->setFormData($data);
return $resultRedirect->setPath('*/*/');
return $resultRedirect->setPath('*/*/');
delete() is working fine but when hide Delete method the email is working
how i can fix this error in email
magento2 email controllers delete smtp
put on hold as off-topic by Amit Bera♦ Apr 11 at 4:25
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about third-party modules are generally off-topic because the scope of functionality and code are not available. For more information, see this meta post/answer." – Amit Bera
add a comment |
controller
delete.php
<?php
namespace WebkulMpquotesystemControllerAdminhtmlManagequotes;
use MagentoBackendAppAction;
use WebkulMpquotesystem;
class Delete extends MagentoBackendAppAction
protected $_mpQuoteHelper;
protected $_mpquoteMailHelper;
protected $_collectionFactory;
protected $_objectManager;
/**
* @param ActionContext $context
* @param MpquotesystemHelperData $mpQuoteHelper
*/
public function __construct(
ActionContext $context,
MpquotesystemHelperMail $mailHelper,
MagentoFrameworkObjectManagerInterface $objectmanager,
MpquotesystemModelResourceModelQuotesCollectionFactory $collectionFactory,
MpquotesystemHelperData $mpQuoteHelper
)
parent::__construct($context);
$this->_mpQuoteHelper = $mpQuoteHelper;
$this->_mpquoteMailHelper = $mailHelper;
$this->_objectManager = $objectmanager;
$this->_collectionFactory = $collectionFactory;
protected function _isAllowed()
return $this->_authorization->isAllowed(
'Webkul_Mpquotesystem::mpquotes'
);
/**
* Delete action
*
* @return MagentoFrameworkControllerResultInterface
*/
public function execute()
$data = $this->getRequest()->getParams();
/** @var MagentoBackendModelViewResultRedirect $resultRedirect */
$resultRedirect = $this->resultRedirectFactory->create();
if ($data)
$model = $this->_mpQuoteHelper->getWkQuoteModel();
$id = $this->getRequest()->getParam('entity_id');
if ($id)
$model->load($id);
try
$model->delete();
$sellerlist='';
/* send deleted quote to email to seller and buyer - icore*/
// $objectManager = MagentoFrameworkAppObjectManager::getInstance();
$model2=$this->_objectManager->create('WebkulMpquotesystemModelSellerQuotes');
$datacollection=$model2->getCollection();
$data['quote_message']="Quote has been deleted by admin";
foreach ($datacollection as $data)
$dc=$data->getData('quote_id');
$delp=$data->getData('seller_quote_price');
foreach ((array)$dc as $test)
if($test==$id)
if($delp!=0.0000)
$sellerlist=$data->getData('seller_id');
$data['quote_message']="Quote has been deleted by admin";
if($sellerlist)
$this->_mpquoteMailHelper->quoteEditedByAdminbid(
$id,
$data['quote_message'],
'admin'
);
else
echo $id;
$this->_mpquoteMailHelper->quoteStatusMail(
$id,
$data['quote_message'],
'admin'
);
$this->messageManager->addSuccess(__('Quote is Successfully deleted'));
return $resultRedirect->setPath('*/*/');
catch (MagentoFrameworkExceptionLocalizedException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (RuntimeException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (Exception $e)
$this->messageManager->addException(
$e,
__('Something went wrong while Deleting the data.')
);
$this->_getSession()->setFormData($data);
return $resultRedirect->setPath('*/*/');
return $resultRedirect->setPath('*/*/');
delete() is working fine but when hide Delete method the email is working
how i can fix this error in email
magento2 email controllers delete smtp
controller
delete.php
<?php
namespace WebkulMpquotesystemControllerAdminhtmlManagequotes;
use MagentoBackendAppAction;
use WebkulMpquotesystem;
class Delete extends MagentoBackendAppAction
protected $_mpQuoteHelper;
protected $_mpquoteMailHelper;
protected $_collectionFactory;
protected $_objectManager;
/**
* @param ActionContext $context
* @param MpquotesystemHelperData $mpQuoteHelper
*/
public function __construct(
ActionContext $context,
MpquotesystemHelperMail $mailHelper,
MagentoFrameworkObjectManagerInterface $objectmanager,
MpquotesystemModelResourceModelQuotesCollectionFactory $collectionFactory,
MpquotesystemHelperData $mpQuoteHelper
)
parent::__construct($context);
$this->_mpQuoteHelper = $mpQuoteHelper;
$this->_mpquoteMailHelper = $mailHelper;
$this->_objectManager = $objectmanager;
$this->_collectionFactory = $collectionFactory;
protected function _isAllowed()
return $this->_authorization->isAllowed(
'Webkul_Mpquotesystem::mpquotes'
);
/**
* Delete action
*
* @return MagentoFrameworkControllerResultInterface
*/
public function execute()
$data = $this->getRequest()->getParams();
/** @var MagentoBackendModelViewResultRedirect $resultRedirect */
$resultRedirect = $this->resultRedirectFactory->create();
if ($data)
$model = $this->_mpQuoteHelper->getWkQuoteModel();
$id = $this->getRequest()->getParam('entity_id');
if ($id)
$model->load($id);
try
$model->delete();
$sellerlist='';
/* send deleted quote to email to seller and buyer - icore*/
// $objectManager = MagentoFrameworkAppObjectManager::getInstance();
$model2=$this->_objectManager->create('WebkulMpquotesystemModelSellerQuotes');
$datacollection=$model2->getCollection();
$data['quote_message']="Quote has been deleted by admin";
foreach ($datacollection as $data)
$dc=$data->getData('quote_id');
$delp=$data->getData('seller_quote_price');
foreach ((array)$dc as $test)
if($test==$id)
if($delp!=0.0000)
$sellerlist=$data->getData('seller_id');
$data['quote_message']="Quote has been deleted by admin";
if($sellerlist)
$this->_mpquoteMailHelper->quoteEditedByAdminbid(
$id,
$data['quote_message'],
'admin'
);
else
echo $id;
$this->_mpquoteMailHelper->quoteStatusMail(
$id,
$data['quote_message'],
'admin'
);
$this->messageManager->addSuccess(__('Quote is Successfully deleted'));
return $resultRedirect->setPath('*/*/');
catch (MagentoFrameworkExceptionLocalizedException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (RuntimeException $e)
$this->messageManager->addError(__($e->getMessage()));
catch (Exception $e)
$this->messageManager->addException(
$e,
__('Something went wrong while Deleting the data.')
);
$this->_getSession()->setFormData($data);
return $resultRedirect->setPath('*/*/');
return $resultRedirect->setPath('*/*/');
delete() is working fine but when hide Delete method the email is working
how i can fix this error in email
magento2 email controllers delete smtp
magento2 email controllers delete smtp
asked Apr 11 at 3:59
prabhakaran7prabhakaran7
33811
33811
put on hold as off-topic by Amit Bera♦ Apr 11 at 4:25
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about third-party modules are generally off-topic because the scope of functionality and code are not available. For more information, see this meta post/answer." – Amit Bera
put on hold as off-topic by Amit Bera♦ Apr 11 at 4:25
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about third-party modules are generally off-topic because the scope of functionality and code are not available. For more information, see this meta post/answer." – Amit Bera
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes