Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

How to attach file in contact us mail

I have a contact form with a field to attach the file but I don't the way how to attach that uploaded file to the email template of contact us mail in Magento
Parth Patel's user avatar
0 votes
0 answers
295 views

Magento 2 Contact Form does not send email, but all transactional emails work

In Magento 2.3.5-p1 build we're having issues with the contact form sending emails. On the client/user side, everything appears to work fine. The form submits without issue and then displays the ...
codestr's user avatar
  • 515
0 votes
1 answer
594 views

How can I attach files to a Contact Us form?

I am trying to create a contact us form with the following fields and file attachments on Magento 2.3.2: <?php // @codingStandardsIgnoreFile ?> <?php $themeHelper = $this->helper('...
Blackwater Scribe's user avatar
2 votes
2 answers
3k views

Unable to send emails. Could not acquire lock for cron job: sales_send_order_invoice_emails

Unable to send any kind emails (order, invoice, tracking). I get confirmation that it was sent, but nothing received. Same with "Contact us" from frontend. cron.log: main.WARNING: Could not ...
Aliokas's user avatar
  • 21
0 votes
1 answer
344 views

Magento 2.3.5-p2 Emails not sending

When i submit Contact Us form on frontend i get: Unable to send mail: Unknown error and error in exception and debug logs: main.ERROR: DOMXPath::query(): Invalid expression in selector >> ....
Aliokas's user avatar
  • 21
1 vote
1 answer
2k views

Magento 2.3 - Change the Contact page success message

I want to change the Success Message in the Contact Page. After someone press the submit button the Success page is like this: How I can to change the Success Page to display a static block for ...
Robert's user avatar
  • 2,186
1 vote
1 answer
2k views

magento 2 contact us add multiple recipients

task: create form "contact us" send data from the form to 2 Email addresses I created form but magento 2 does not provide option in admin to add multiple emails separated by , I was looking for a ...
ann karsksya's user avatar
1 vote
2 answers
2k views

Magento 2.2.6 Change 'From' field of magento contact form email to the sender

Currently, when customer submit a contact form through our website, the "sent from" email address we received is our [email protected]. I would like to change the "send from" email address to be the ...
Mage Explorer's user avatar
1 vote
1 answer
2k views

Add new custom field in magento 2 contact form

Could you please help to add a new custom field in Magento 2 contact form.
Intellect Outsource's user avatar
0 votes
2 answers
2k views

How can i programatically send contact us mail in magento 2?

i have tried using the below code but didn't get the solution. public function contactUs() { //$params = $this->getRequest()->getParams(); //$mail = new Zend_Mail(); $this->...
christy's user avatar
  • 157
0 votes
2 answers
385 views

How can I use different emails on contact us page?

We have a contact us page, and we have the fields: Name, Email, Telephone, Reason, and Message. We have different people who deal with different things, so we were thinking the reason could be the ...
zcoyne's user avatar
  • 109
1 vote
1 answer
68 views

Contact Us Page [closed]

Currently our contact page doesn't work. We installed MailChimp in hopes that it work link, but apparently that's only for the order confirmations etc I tried it as it is, but unfortunately it doesn'...
zcoyne's user avatar
  • 109
3 votes
1 answer
1k views

add a select dropdown on Contact Page

I'm looking for a way to be able to add a Dropdown (select) to the Contact Page and use it as a Subject later on in the email. I've tried simply adding a dropdown but it doesn't seem to be working: ...
Prashant Patel's user avatar
0 votes
1 answer
551 views

Customized contact us page for logged in user

I wish to add a contact us page customized for the logged in user in magento2 website. It should be like it's activated when a person is logged in and it should not ask for name or email , it should ...
Farid Haq's user avatar