Send email to specific users using webforms - drupal-webform

In a view, everytime a user clicks on a link "click to connect" field, an email has to be sent to the specific username based on its id. I am using webform to send the mail. But, it restricts me to send all mails to the same email address. In order to hide the email to which mail has to be sent, I am fetching the id of the user(to whom mail has to be sent) in a hidden field in webform. But, i can't figure out a way to get the destination email dynamically.

I think this should do the trick
http://drupal.org/project/webform_bonus

Related

Options to receive emails from a contact form in a node application

I am working on a MERN stack and I can send out email to users using nodemailer. However, I would like the users of the application to be able to send email to the admin too. So far, it is the admin who can send out emails to users. How about the option for any to click the contact page, fill in their name, email address and email body and send out email to the admin of the application.
Is this possible with nodejs? What are my options? I checked online and I keep seeing the option to send out email which I have already done.

Allow customer to send me email

I'm bulding website where I want to allow future customers to send me an email. I'm using Node.js to handle sending and thought SendGrid would be good solution. There's actually problem, because SendGrid requires me to define sender and that's impossible because I'd like to customer fill form with his email, etc so I would get this data on my inbox. Is it even possible with SendGrid or maybe there's other tool that would fit me better?
Thanks in advance
what I have implemented in the past was a solution where the application sends an email to it self, and the email address of the user was added to the email header reply-to, this way whenever somebody with the access to the email client would press the Reply button, the user's mail would be the destination.
Example:
admin#yoursystem.com ---> Sends an email to ---> admin#yoursystem.com (with the user's message and his email address in the mail header reply-to).

Get original email headers of forwarded email using domain-wide-delegation

We have all spam and phishing emails being forwarded to an IT department for review. We currently have individuals downloading the original email in their gmail inbox and then attaching it to an email to the spam box. This has caused a lot of complaints from less technical users.
I am trying to build a python script that can read forwarded emails and then use domain wide delegation to access their email boxes and retrieve the original headers of the forwarded message.
Do any of the fields in the gmail headers stay constant when forwarding an email so that a forwarded email can be used to query the original email in a users inbox ?
The current method that I have tried reads the message ID's of the spam box, retrieves the message, identifies the sender and messageID's of the messages in the spam box and then uses domain-wide-delegation to query the mailbox of the sender for the original message. This fails however as Gmail messageID's and threadID's of the forwarded emails don't match the original email.

Email selection screen, set default recipient email

I have an easy one, never had to do it before
I'm on the invoice, I click on the + and I click on email.
The recipient email is the customer, fine.
But I have a case where I need to hardcode the email.
I created a workflow and assign the email to the hardcoded address.
It's not working and I'm not surprised.
I want to update the email recipient field in the "popup" screen
I'm sure it's easy for all of you but it would help me
Mark
The logic needs to be deployed to the message record instead of the invoice record. I am not sure if the message record is exposed to workflows, but it is exposed to user event scripts. A user event script deployed on the message record will execute on every message, so the script logic needs to check the passed parameters to determine if the email was opened from an invoice. The easiest way to change the recipient email address is to use a redirect with the desired parameters.

Send notification email in Netsuite

When send the notification email to customer, how to get the password of customer info?
I wanna send the notification email with Password info.
Thanks for your helpness.
When you give access to your customer and check the field "SEND NOTIFICATION EMAIL" under Access tab, due to security reasons NetSuite does not include password information in notification email.
If you wants to include password info in notification email, you will need a custom script - after submit user event script deployed on customer record with criteria of your interest to send notification email. You should also consider not to check SEND NOTIFICATION EMAIL" field.

Resources