Linked Questions

10
votes
1answer
30k views

How to send an email programmatically in Magento 2? [duplicate]

How to send an email programmatically in Magento 2 instead of php mail() function?
3
votes
1answer
11k 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: ...
5
votes
1answer
3k 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 ...
0
votes
1answer
608 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
616 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
540 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 ...
0
votes
1answer
412 views

Not able to send email from custom module

How to debug following code. $transport = $this->transportBuilder ->setTemplateIdentifier($emailTemplate) ->setTemplateOptions( [ ...
0
votes
2answers
157 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....
0
votes
1answer
153 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.
1
vote
0answers
73 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"> ...
1
vote
1answer
31 views

Implementation of sending selected items along with feedback form

Tell me how to implement the functionality of such a sample. On a separate page there is a form with any fields 2 or more and a submit button. I will use this example to implement. https://magento....