Hi,
I have set up site-wide contact form, but instead of delivering to email addreses I'd like to have messages delivered to a local user (as private messages). How can I do it?
Jarry
Consider http://drupal.org/project/privatemsg
On Sun, Jan 30, 2011 at 1:11 PM, Jarry mr.jarry@gmail.com wrote:
Hi,
I have set up site-wide contact form, but instead of delivering to email addreses I'd like to have messages delivered to a local user (as private messages). How can I do it?
Jarry
-- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks, I have privatemsg module installed and running. But I do not know how I could redirect messages from site-wide contact form to local user. It seems to me contact form accepts only email adresses as recipients...
Jarry
On 30. 1. 2011 21:42, Carl Wiedemann wrote:
Consider http://drupal.org/project/privatemsg
On Sun, Jan 30, 2011 at 1:11 PM, Jarry <mr.jarry@gmail.com
I have set up site-wide contact form, but instead of delivering to email addreses I'd like to have messages delivered to a local user (as private messages). How can I do it?
The core-optional contact form supports sending messages to individual users via email. What do you mean by "local user?"
On Sun, Jan 30, 2011 at 1:47 PM, Jarry mr.jarry@gmail.com wrote:
Thanks, I have privatemsg module installed and running. But I do not know how I could redirect messages from site-wide contact form to local user. It seems to me contact form accepts only email adresses as recipients...
Jarry
On 30. 1. 2011 21:42, Carl Wiedemann wrote:
Consider http://drupal.org/project/privatemsg
On Sun, Jan 30, 2011 at 1:11 PM, Jarry <mr.jarry@gmail.com
I have set up site-wide contact form, but instead of delivering to email addreses I'd like to have messages delivered to a local user (as private messages). How can I do it?-- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. -- [ Drupal support list | http://lists.drupal.org/ ]
You could add an additional submit handler to the contact_mail_page form via a hook_form_alter (see http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html...) and in your submission handler, manually invoke the relevant private_message module function to send the private message to the user. You would do this in a custom module space.
Best, William
On Sun, Jan 30, 2011 at 3:47 PM, Jarry mr.jarry@gmail.com wrote:
Thanks, I have privatemsg module installed and running. But I do not know how I could redirect messages from site-wide contact form to local user. It seems to me contact form accepts only email adresses as recipients...
Jarry
On 30. 1. 2011 21:42, Carl Wiedemann wrote:
Consider http://drupal.org/project/privatemsg
On Sun, Jan 30, 2011 at 1:11 PM, Jarry <mr.jarry@gmail.com
I have set up site-wide contact form, but instead of delivering to email addreses I'd like to have messages delivered to a local user (as private messages). How can I do it?-- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. -- [ Drupal support list | http://lists.drupal.org/ ]