Questions tagged [emails]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Confirmation email still sent from old address after changing system email address

I noticed a client site still used my development email address as the system email address. I changed the setting accordingly: Old system email: jannis@ourdomain.tld New system email: online@...
1
vote
1answer
17 views

How to check if a user's new email has been verified

Background When the user setting Verify email addresses? is enabled, and the user's email is reset by a non-admin the address requires verification before being used as explained here. This does not ...
1
vote
1answer
25 views

HTML Email Template setting not working for reset password email

I'm on the latest release of craft 3.x. I have the HTML Email Template setting set to a twig file in my templates folder. When sending a test email the template is used to send the test email, however ...
2
votes
1answer
21 views

How to register a new System Message email

I want to send a welcome email to the user when they sign up (not an activation email). I can see the email and edit its text in the Control Panel, but the email doesn't send when a new user ...
1
vote
1answer
21 views

Commerce 1: Different default order status based on product types

I want to assign different default order status based on product types. Is this possible? What I need to achieve is to send different email notifications based on product types. Can this be ...
0
votes
1answer
36 views

Need Swift Mailer to send emails as UTF-8

I have a Craft 3 site that used Freeform Pro for a contact form. All submissions from this form need to be sent, via email to a third party vendor who parses the information and submits it to a CRM. ...
1
vote
1answer
59 views

send e-mails via smtp without authentification

I try to send e-mails via SMTP without authentification and I'm getting the following error: There was an error testing your email settings. I checked my setup on https://www.smtper.net/. No ...
1
vote
1answer
25 views

Email template issue

I'm using Rias500/craft-contact-form-extensions plugin for creating custom email confirmation templates, and it works great but when I try to override the template (because I need confirmation emails ...
1
vote
1answer
25 views

I do not have the /craft/storage/runtime/logs/ folder

I am trying to set up SMTP emails using Microsoft 365 and the settings are not working so I need to dig into the logs to find out why. When I go to find the folder it is not there. Instead I have a /...
1
vote
1answer
46 views

Use Same Email Address On Multiple User Accounts

I am needing to set up two distinct users (one for each of two LDAP log ins) and I need for them both to use the same admin email address. However, Craft 2 will not let me do this. Is there a way to ...
1
vote
1answer
21 views

Add attachments with Craft Commerce

Suppose I have an assets field in my orders fields, how could I attach those files in the confirmation email?
0
votes
0answers
25 views

How to force the language for sending system messages?

I use some default Craft controllers to perform front-end actions such as user's email update (with users/save-user as action value of user profile form). As my project is multilingual, I would like ...
1
vote
1answer
49 views

Where are the E-Mail Templates?

Am I completely stupid or have the e-mail settings been removed after an update? I am searching for the text E-Mails they are sent if a new User is created, someone has his Passwort forgotten and so ...
1
vote
1answer
31 views

Editing User Email Address

I created a user group that has full permissions for User options in the CP, i.e. all the boxed ticked. However, they are not able to edit a user's email address. When changing the email field and ...
2
votes
1answer
37 views

How to set view path for rendering email templates?

Trying to send an email Craft::$app->setViewPath('/Users/stian/dev/site.com/templates/'); Craft::$app->mailer->compose('confirmation.twig', ['orderId' => $orderId, 'customerId' => $...
1
vote
1answer
48 views

Custom Newsletter template

I'm trying to create an email newsletter template to make it easier to send out blog newsletters by looping over entries and generating the email straight out of craft. I did this often with Wordpress....
1
vote
1answer
179 views

Loading email templates in a Craft 3 plugin

I've been struggling to make this work within a plugin. I have a html file in my templates folder called _email.html. I try to load it in my plugin but then I get an error. This is my code: Craft::$...
3
votes
1answer
120 views

Can you override the default sendmail path in Sendmail transport config in Craft 3?

Many shared hosting accounts require custom flags that are passed to sendmail in order for them to work properly. Since Craft 3 uses Swiftmailer for its mailing library and Swiftmailer's default ...
1
vote
1answer
108 views

Integration with MailChimp et al

Is anyone aware of a solution for using Craft user data with something like MailChimp? This is a very simple use case of sending newsletters/announcements to registered Craft users. Would be even ...
1
vote
0answers
59 views

Redactor has destroyed my mailto links, now what?

I migrated from EE > CraftCMS. The email links in my EE WYGWAM fields were encoded as JS. When we imported to CraftCMS we lost all of those links. They now look like this: <a>joe@schmoe.com</...
1
vote
1answer
426 views

How to use the default HTML email template when sending an email from a plugin?

On /admin/settings/email, when the HTML Email Template field is set to a valid template, all system messages are sent using it. They inject the content of the messages inside the {% block main %}{{...
1
vote
2answers
208 views

Email template issue Craft Contact Form Extensions

I am using Contact Form Extensions plugin https://github.com/Rias500/craft-contact-form-extensions for setting up custom notification email template but not sure what tag would be used for additional ...
1
vote
1answer
48 views

Sending a custom email in the users prefered locale

Usecase: I'm sending out custom emails based on certain events to my users. These users have chosen a certain prefered locale in their profile settings and I'd like for those emails to be in that ...
3
votes
1answer
626 views

Sendmail not working on Craft 3

I'm building my first Craft 3 site, and having problems getting email to send. I've set it to use Sendmail but when I click the Test button in the CP, I get "There was an error testing your email ...
1
vote
1answer
71 views

How can I set a custom URI for the confirmation link of account email update from a front-end form?

I have a front-end form to update user's email address, like this example: <form method="post" accept-charset="UTF-8" enctype="multipart/form-data"> {{ csrfInput() }} <input type="...
1
vote
0answers
58 views

User Registration Form: Empty Email

I am using Craft 3 with the default Craft 3 user registration form. Whenever I register I get an empty email. If I go to the cms and manually click on 'send activation email' I get a correct ...
1
vote
1answer
120 views

Multisite system messages: change domain in {{ link }}, other than primary domain

How can I change the domain in the generated {{ link }} in a system email, other than the primary domain? I have a multi domain setup in craft3, and it works fine everywhere, except ... for the ...
1
vote
2answers
236 views

How can I prevent an account activation email from being sent to an unverified user who registered via a front end registration form?

I have a front end user registration form, and I want users to receive a set password email after they've been activated manually in the back end by an admin. When they submit the user registration ...
1
vote
1answer
115 views

Craft 3 attachment email

I need to add an "attachment" to an email sent by Craft CMS 3. I used a custom "Module" for this with a "Model", "Service", "Record" and "Controller" I did some research but did not find any clear ...
1
vote
1answer
34 views

Send e-mail notificacion ( including attached files ) after user send information with Guest Entries

I´m using Guest Entries to add to db some info filled by users, including some attach files. Everything works great. But now i have to send an email with all the info and files that user send, i´m ...
1
vote
1answer
652 views

Contact Form Plugin - Not sending/receiving emails?

I'm developing my first website on Craft 3 and I'm essentially a front-end designer so my PHP/MySQL/AJAX knowledge is extremely limited. I installed the Contact Form plugin as explained here https://...
1
vote
1answer
87 views

Sending attachments within a plugin

Using Craft 2. Here's my code, which sends the email fine if I remove the attachment part. Can anyone point me in the right direction? $email = new EmailModel(); $email->toEmail = $toEmail; $email-...
1
vote
2answers
98 views

How to send e-mails using utf-8?

does anyone know if you can send emails using utf-8 instead of ascii in CraftCMS 2? I am using the Freeform plugin to send entries from a "Contact Us" form to a CRM that needs to receive the e-mails ...
1
vote
2answers
596 views

Can't login after installing Craft CMS 3

I just installed Craft CMS 3 and I tried logging in as my admin user but it's not working. I enter the correct login information and nothing happens. I tried the reset password option but never got ...
1
vote
1answer
101 views

Customer info missing from email

Folks: The client receives an email with order details that include the customer shipping address. On a couple of occasions, though, the shipping details do not show. Notes: The email is delivered ...
2
votes
1answer
58 views

Craft Commerce - Different confirmation email address for different product types or category

On a website I will be setting up there will be different ranges/types of products. Basically purchased from different departments within the organisation. I can filter the products in different ways ...
6
votes
1answer
2k views

How to send email from Craft 3 custom plugin?

I have created custom plugin in Craft 3 and want send email to receiver or site email when user submits a form.
2
votes
3answers
804 views

Setting up Craft's registration e-mails to be sent through GMail

I have a question regarding how to set up Craft 3 RC8 to send e-mails through a corporate GMail account. My website's MX records are pointed at GMail through Cloudflare I tried setting this up when ...
2
votes
1answer
91 views

How can I use the Courier plugin to notify a user when an entry is enabled?

Moderation scenario: Registered user publishes an entry using a front-end form that sets the entry to disabled. Moderator receives email re new entry and changes status from disabled to enabled in ...
3
votes
0answers
214 views

Mailer config in Craft 3 not getting merged

I have this custom config in config/app.php, but Craft seems to keep using the default Control panel Sendmail config. It seems this doesn't get merged in the main.php file. (as promised) return [ '...
3
votes
2answers
91 views

Does Craft have built-in queue handling for outbound mail?

Does Craft have built-in queue handling for outbound mail? For example if Settings -> Email -> Protocol is set to "SMTP" and the mail server is temporarily down when an email is to be delivered, the ...
1
vote
1answer
70 views

Save Entry Data as CSV and Email it to the Author / Logged in User

I am trying to email some Entry data that they have created in CSV Format to the author/logged in user. I have a controller setup with a frontend form posting an action to the controller: public ...
1
vote
0answers
112 views

How Do I Use Channel Entry Data to Create a Dynamic Recipient List in Freeform?

I'm trying to use the Solspace Freeform plugin for Craft CMS to create an email form. My form needs to have dynamic recipients, but I have a channel in the system that has the email addresses I need ...
1
vote
1answer
846 views

How do I use a Twig template to generate Email content from inside a plugin I'm making?

I'm trying to do a nicely formatted email from a plugin I'm making. The standard way I've been doing simple emails is all entirely in the code, somewhat like this: $notificationEmail = new EmailModel(...
1
vote
1answer
86 views

Plugin sending emails to all users in an entries Users field

I have a channel set up with front end submitted entries. I want a way for users to be able to subscribe themselves to receive an update whenever the entry (or it's related entries) are updated. I was ...
1
vote
1answer
348 views

Sending email from GMail protocol

I'm using AM Forms on a site that I've built. The site is now in production. Via the AM Forms notifications settings, the email I've entered for Email recipients and Sender email address notification ...
2
votes
2answers
507 views

Customize activation and other system emails

Just as the title indicates, I'm looking for a way to customize the email template of the "click here to activate your account" email that is sent to users when they register. I would also like to ...
1
vote
0answers
77 views

Email error: Could not access file

Using Sprout Forms in conjunction with Amazon S3. The file is being uploaded to the S3 source, however it fails to send when viewing the Craft log. [error] [application] Email error: Could not access ...
1
vote
1answer
76 views

Error when trying to send HTML email on event onActivateUser

Background: I'm working on a site that has frontend registration with some custom fields. The client would like to have a notification email whenever someone activates their account, containing the ...
1
vote
2answers
157 views

Additional Fields aren't sent within Contact Form email

I am using Contact Form v1.9.0 with latest version of Craft. I've additional fields to the form so that the inputted values appear in the email message. However, the only field being sent within the ...