Linked Questions

0
votes
2answers
83 views

Contact Form in Magento 2 Custom Module is Not Sending Email

I am currently trying to create a custom form in Magento 2.2.7. The purpose of this contact form is to provide our trade (wholesale) customers with a separate contact form to our retail customers (i.e....
7
votes
1answer
24k views

How to send mail programmaticlly in magento2? [duplicate]

How to send mail programmatic in magento2 instead of php mail() function
5
votes
1answer
2k views

Magento 2 Add review form on custom page

I have custom module page which has products on a slider. When I click on slider product according to that product I want to show a Review - Rating Form on custom page which can be filled once by ...
2
votes
1answer
8k views

Pass Variable And Output In Custom Email Template

I am trying to pass data into my email template, something like this: ['catalogue_url' => 'http://url.html'] I am struggling to access and output it in the email, I have tried the following: Test 1: ...
0
votes
1answer
81 views

How to add contact us form and functionality programmatically in frontend magento 2?

Actually, I want to add contact us form and functionality programmatically in Magento 2 custom theme in frontend.
0
votes
1answer
400 views

Magento2.2 Custom form not sending data via email

I have followed this post about creating a form that sends data to a specific email. The module works, but the form isn't sending data to the given email. For simplicity I am going to paste the code ...
0
votes
1answer
349 views

Not able to send email from custom module

How to debug following code. $transport = $this->transportBuilder ->setTemplateIdentifier($emailTemplate) ->setTemplateOptions( [ ...
0
votes
1answer
506 views

Contact form does not send email

When I am sending the form detail It work.but do not receive the Email.I set the email like sale@example.uk when I set it like sale@example.com it work. I think problem is .uk and .com domain name.can ...
0
votes
1answer
329 views

Secondary contact form

how I can create a secondary contact form with mangento2x, I want to customize a contact form for clients feedback, I saw a lot of extensions that do what I want but they are not free, is there an ...
1
vote
0answers
48 views

How to save attachment in database using custom form in Magento 2?

I have created a custom form on the frontend, and want to save data in the database as well display in the admin. My Form: <form id="career-form" name="career-form" action="#" method="post"> ...