2

I am using private message module to send an e-mail to all users. When I send mail, users can able to see the message in site only after logging in.

There is an email notification settings in private message module. What is the settings to send mail to user using private message?

Below screen shot shows the settings of email notification.enter image description here

enter image description here

enter image description here

13
  • ... what about it?
    – No Sssweat
    Commented Oct 16, 2015 at 6:24
  • @ NoSssweat - thanks for your response ...I am creting message it should send to user mail.i cant able to see any notifications in mail after creating new message it is displaying in user site only.
    – DINE
    Commented Oct 16, 2015 at 6:26
  • did u run cron... (-_-)
    – No Sssweat
    Commented Oct 16, 2015 at 6:30
  • @ NoSssweat - yep it is running,But no result ,There is some other settings i will show you by screen shot of it.
    – DINE
    Commented Oct 16, 2015 at 6:33
  • @ No Sssweat - i have posted it.
    – DINE
    Commented Oct 16, 2015 at 6:36

1 Answer 1

0

Part 1:

The answer to the question "What is the settings to send mail to user using private message?" is like so: these settings can be used to finetune the eMail to the user who received a "Private message", whereas such eMails are like a "notification" that there is a new Private message waiting on the site (and for which that user must head over to the site to actually read/see the private message).

Compare it so the various eMails a newly registered user may receive after a registration request got approved, which also requires such new user to go visit the site to actually start using the user id (to set a new password, etc).

Part 2:

Below is a suggestion to address the 2nd part of your question, which you wrote in these 2 comments:

  • But when i am creating message "To" I have specified their user name to send mail,instead of that i want to give "ROLE OF USERS" it is possible to send mail by using user role ? ...
  • I have posted in above pic in place "To" i want to specify my user roles ...in under one role i have 10 users i want sent a mail for all of that users.

The Privatemsg Bulkmail module (for D6) would possibly address your question ... Provided "sending a private message" (instead of "sending an eMail") would be OK for your case. If that's not what you want, then you should not be using the Private message module (that's not what it is for). The rest of my answer below assumes that "sending a private message" would be OK.

There are currently no plans for a D7 version of that module. However, I'd use the integration of the Privatemsg module with Rules instead (make sure to checkout this community docu, and its child pages ...), together with the VBO module.

For more details, refer to the video about Using Rules components with VBO. Possibly you also want to look at the 2 prior videos and/or the 2 subsequent videos (all about Views Bulk Operations), i.e.:

In this specific case;

  • use Views bulk operations to create the list of your users to be targeted (in this case a list of users that corresponds to your ROLE OF USERS).
  • use Rules action "Send a message" (provided by Privatemsg module).

PS: yet another great usage of the Rules module, in this case in combination with the Privatemsg module.

2
  • @ Pierre Vriens - Thanks for your response,I want to send by using private message module email notification when selected role,I tried regarding to your suggestion my requirement is not matched with that ..is it possible to send bulk mails with private messages based on role?..
    – DINE
    Commented Oct 16, 2015 at 11:10
  • The only solution that I am aware of to do this, is as I described in my answer above. And as I already wrote in my answer: if that's not what you want, then you should not be using the Private message module (that's not what it is for). Commented Oct 16, 2015 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.