Recently Browsing 0 members
No registered users viewing this page.
I have a page which sends out an email based on queries in the url
<?php // event ID $eventID = $input->get('eventID','int'); $event = $pages->get($eventID); // config $adminEmail = "email@example.com"; $fromEmail = "firstname.lastname@example.org"; $fromName = "test"; $emailSubject = "Test Email"; // HTML BODY $emailBody = ""; // HOW TO ??? … // send mail $m = new WireMail(); $m->to($adminEmail); $m->from($fromEmail, $fromName); $m->subject($emailSubject); $m->bodyHTML($emailBody); $m->send(); ?> The email body is a bit complex: standard html/css tables and some php (pw variables).
I put my emailbody (html) in a seperate file emailbody.inc but don't know how to include it?
My form is not getting submitted, it is showing:
Unable to verify successful email delivery of this form submission.
Attaching for your reference as well:
In the Backend, it is showing Connection timed out with smtp.gmail.com
Pl guide me how to resolve that
hello processwire community,
i am using LoginRegister module for front-end user registration. i am facing an issue verification email not receiving while WireMailSmtp is working perfectly and user receives message
"Thank you, a confirmation code has been emailed to you. When you receive the email, click the link it contains, or paste the confirmation code below."
received this message in front-end but does not receive any email relevant it.
please help me in this case how i can solve it.
Please check screen shots for SMTP test and message which receives user.
First screenshot SMTP test message, second when user receives message after clicking register button.
By Noel Boss
To create a new gitlab issue, I'd like to send an Email to the following email address using FormBuilder:
unfortunately, the / in the email gets striped by the sanitizer:
wire('sanitizer')->email(email@example.com'); // output: firstname.lastname@example.org Is there any way to configure the sanitizer? Any other Ideas how to send the mail to this address?
Ps.: I can not define the email format as it is defined by gitlab. The format is also kind of "common" and known as email-alias in the form of email@example.com – gmail uses it to label mails…