Questions tagged [emails]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
3answers
932 views

Automatically subscribe users to MailChimp list?

I would like to automatically subscribe all newly registered users to a MailChimp mailing list.
2
votes
1answer
200 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 ...
0
votes
1answer
47 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
76 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
2answers
76 views

Send email with dedicated SMTP settings from a Craft 2 plugin

I have looked a lot for this but cannot find any dedicated solution. Basically I want to do this: How to send email from Craft 3 custom plugin? … but for a Craft 2 plugin. A how-to for the global ...
0
votes
0answers
26 views

Notification Plugin - Internal Server Error

Have tried a couple different plugins to generate a simple email notification when someone submits a Guest Form. "Guest Entries Notification" didn't do anything. It didn't display errors or send an ...
1
vote
1answer
16 views

What are the risks of using Gmail for sending email from Craft CMS?

In Craft's documentation for email it says: Gmail might be a good option depending on your appetite for risk. But I don't see anything about what the risks are. Is there a risk of getting hacked, ...
3
votes
3answers
722 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 ...
2
votes
1answer
67 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 ...
0
votes
0answers
25 views

Is it possible to send Solspace Freeform mail with custom module?

I'd like to send mails from my custom module for Craft. But instead of Craft I want to use Solspace Freeforms plugin. Is it possible to send mails with this plugin outside of frontend?
0
votes
0answers
10 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
25 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
43 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
40 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
38 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 ...
1
vote
1answer
34 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
2answers
356 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
40 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
59 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 ...
9
votes
3answers
2k views

How do I set up Craft to send emails from my local MAMP/Virtual Host X dev environment

I'm developing a site locally using MAMP + VirtualHostX on Mavericks. I'm at the point in the project where I want to create some user accounts for clients, but I can't seem to get my mail set up ...
1
vote
1answer
29 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?
7
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.
0
votes
0answers
30 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
1k views

Newsletter Sign up

I am trying to create a Newsletter registration form. I just want to collect emails somewhere in the CP, and let the client decide what to do with the list later on. Has anyone worked on something ...
1
vote
1answer
43 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 ...
1
vote
1answer
63 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 ...
2
votes
1answer
71 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' => $...
3
votes
2answers
2k views

How do I send an email to multiple recipients?

In my plugin, I'm sending an email like this: $recipients = 'person@example.com'; $email = new EmailModel(); $email->toEmail = $recipients; $email->subject = 'My Email Subject'; $email->...
2
votes
2answers
210 views

Is there a way to detect if a action is triggered from a control panel form?

We're building a content platform for a bank for a client of us. One required feature lets relationship managers add clients (members) to the platform which get assigned a specific group. We listen ...
1
vote
2answers
786 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
65 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....
3
votes
3answers
980 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 ...
1
vote
1answer
235 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
190 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
178 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
78 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
706 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
292 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 ...
4
votes
1answer
929 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
80 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 ...
6
votes
2answers
1k views

How do I get the Settings System email Address?

From a template or a plugin, how can I get the value of admin/Settings/System Email Address ? Thanks for your help Nicolas
1
vote
1answer
77 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="...
3
votes
2answers
2k views

Integrate Google reCAPTCHA into Contact Form plugin

So I just recently plugged in pixelandtonic/ContactForm plugin into my website and I realized I got about 3 spam emails straight into my inbox on the first day it was up. Is there a way to integrate ...
1
vote
2answers
78 views

Problem with mailer plugin

My problem is that the Mailer plugin (version 0.5) does not work with Craft Pro 2.3.2620. Unfortunately, I get no error message - it still does not send e-mail (the log is empty). Craft in general is ...
1
vote
1answer
39 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
0answers
71 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
2k views

Configuring email (PHP Mail) with Craft

I'm trying to set up a basic PHP Mail setup with Craft. I really just need it set up to handle new account activation e-mails. I can't seem to find any instructions on the Craft site or elsewhere on ...
1
vote
1answer
151 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
1answer
924 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
2answers
115 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 ...