Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 27710

Drupal core uses email for a number of important tasks, such as verifying authenticated users' email address.

7 votes
Accepted

How can I send a HTML email?

Use the Mime Mail module The Mime Mail module gives Drupal core and other Drupal modules the ability to send HTML email messages. This is an all-Drupal solution that does not require external third-p …
No Sssweat's user avatar
  • 31.6k
7 votes
Accepted

How to change webform default email address from sender side?

You can usually find a configure link in the module list. Looks like in /admin/config/content/webform and scroll down to default e-mail values. (For Drupal 6, go to yoursite.com/admin/settings …
No Sssweat's user avatar
  • 31.6k
3 votes

How do I modify the email maximum length to 320 characters?

You can using hook_element_info_alter. mymodule.module /* * Implements hook_element_info_alter(). */ function mymodule_element_info_alter(array &$info) { if (!empty($info['email'])) { $info['e …
No Sssweat's user avatar
  • 31.6k
3 votes
Accepted

How to send mail for every X months using rules?

Requirements: Rules, Rules UI and Rules Scheduler must be installed and enabled. Step 1) Create a new component, I named it send mail every 2 months Step 2) Add an action of Send Mail, fill out t …
No Sssweat's user avatar
  • 31.6k
2 votes
Accepted

How can I block users from registering with disposable email addresses?

Like you mentioned it is impossible to block all disposable domains. If you want to end the madness, the most effective solution would be: Upon registration you send a confirmation link or code to a …
No Sssweat's user avatar
  • 31.6k
2 votes
Accepted

Send email to users after node update

But my problem is when I edit this room and I add New members, I want to send an email only for new. As hook_entity_update mentions Get the original entity object from $entity->original. …
No Sssweat's user avatar
  • 31.6k
2 votes
Accepted

How to send e-mail to node author 1w before date field in node?

Requirements Rules, Rules UI, Rules Scheduler, Date, and Date API modules Add date field Go to your content types Manage Fields and add a field of type Date. I called mine Deadline, machine name: fiel …
No Sssweat's user avatar
  • 31.6k
1 vote
Accepted

Sending form to mail from custom module fails without error

Did you implement hook_mail in your module? – Alfred Armstrong where to place the hook_mail function? – Lance Goes in the .module file. Ex: my_module.module /* * Implements hook_mail(). */ function …
No Sssweat's user avatar
  • 31.6k
1 vote

Need to find and disable an email that may be coming from a module

If you have the Rules module enabled, go and check the rules /admin/config/workflow/rules It's very likely that there is a rule that is sending the emails. So just disable it. …
No Sssweat's user avatar
  • 31.6k
1 vote
Accepted

Send Email when node has been updated with specific term/selection

In rules Add Condition >> Data Comparison >> node:field-[name of your field goes here] Add Action >> Send Mail
No Sssweat's user avatar
  • 31.6k
1 vote

Message not being sent in the body of the mail

You need to add a hook_mail code As this line $mailManager->mail($module, $key, $to, $langcode, $params, NULL, $send); behind the scenes will invoke this hook_mail function. something like this: / …
No Sssweat's user avatar
  • 31.6k
1 vote

Load Media File in Webform Mail Handler

$media_id = \Drupal::request()->get('media'); // get value of media query param $media = Drupal\media\Entity\Media::load($media_id); // load the Media entity $media_name = $media->getName(); // get …
No Sssweat's user avatar
  • 31.6k
1 vote

Cannot get subscriptions to send out at correct intervals

Setting cron to run every 3 hours does not necessarily mean that cron will actually run every 3 hours. This is because it is not truly automatic. Something needs to trigger cron to run. This …
No Sssweat's user avatar
  • 31.6k
0 votes

Web forms senders to make their email secure

You can use the SMTP Authentication Support which allows you to send your e-mail via port 587 (TLS), which means your e-mail gets encrypted.
No Sssweat's user avatar
  • 31.6k
0 votes

How to email the results of a filtered view to a user?

If your view is a page, should be as easy as grabbing the page url when the form gets submitted and based on the url (if statement) you attach a view that has a filter of "X". (slight chance that it i …
No Sssweat's user avatar
  • 31.6k

15 30 50 per page