I need to forward emails coming from the Contact form 7 plugin to a group of users based on the email subject.
Lets say that i have an email with the subject "Services page form", now i need to forward this to an email services#example.com.
But if the email subject is "Contact page form", then i will forward it to contact#example.com. Are there any suggestions how this could be done?
If there are any other ways to do this are welcomed too.
Create different forms to use on each page. Each form you create has its own individual settings for email delivery etc.
Related
I have a website where users can register and fill in a Profile form, then submitting their profiles to many companies emails saved in my DB,
bur when i use users email as "from" field after a while the emails blocked according DMARC.
i have used sendgrid.com to send emails ..
use php for website building
So how can bypass this problem ??
or Is there any another website (email sender ) that does not require this feature (DMARC)
like :
$from = "email of user .. any email ";
instead of
$from = "fixed email of website ";
Regards
Fortunately you can't do this. If you this would mean anyone could "impersonate" anyone's email..
UPDATE:
You can read here how DMARC works.
Its based on domain configuration and not related to particular mailbox. So in order to achieve this you would have to change the DNS records of the senders domain. What you could do is send all email from your domain and set the "from name" to users name but then the "reply" function will not work unless you make some more sophisticated system that will be forwarding the messages back and forth..
I hope this clears things a bit.
I am using Silver stripe 3.0.
I have set up a contact us form using User defined form module.
I have added three fields, "Email", "Name" and "Message".
When the user fills in the form and submits, the email is sent to the user but the email address which set as "email recipients" in the user defined form is not getting the email which is sent by the user.
I have been trying to figure this out for around three days but all of no use. Can any one help me out as it is a sort of emergency for me.
For some reference I have printed the list of recipients in the UserDefinedFrom.php in this foreach:
foreach($recipients as $recipient){
/// should get the email set at back end as well.. But not printing here.
}
This is done... I figured out the issue which was related to overriding the $email->setTo with the email address coming from the form.
Tutorials all over the web say that you need two pages for a mailform PHP for someone to send a simple email message, with email, subject and message from your website.
Can you get away with just one PHP mail form page, which creates another page , which says "thank you for your interest in our site" ?
if i understand you right, you need to implement accounts in your site and if the account is and administrator - to show the reply form, otherwise to show a feedback form
I have an html email newsletter sent monthly to customers. I've added a forward to friend link in the layout having
href="mailto:%20?subject=SUBJECT &body=TEXT">
Now when I click the button, it opens "outlook new Email" page.
When I send the email to myself(testing), I get the email with the sender name as my name which is the account name in my outlook email account.
So my question is can we override this sender name and choose one to appear bydefault in this case?
Here is everything you can do with an href mail to link.
http://www.echoecho.com/htmllinks11.htm
You cant do that with "mailto:" link.
You may need to create some small "contact me" website with contact form.
I am trying to build a email messaging system for a classified site ( a la craigslist), so that users can email each other. emails of registered users are stored in a database.
What I want is for the recipients email address to be hidden from the sender's . If I just use the mail() function and dynamically get the recipients email from the database, will this email be visible to the person sending the mail ??
if the recipients email is indeed hidden from the sender's when using mail() this way, then why does craigslist anonymize's email ? isn't it already anonymous ?
Edit: so the email won't be visible to the person filling the form. SO the question remains is why does craigslist anonymizes email addresses? and whether I should implement the same ?
Craigslist doesn't use a form to submit. They provide an email address. When the users send the email using their own email system to #craigslist.org, then their servers get that email, look up the appropriate record, and forward the email to the real email address, so the sender never sees the real email address of the person.
If you're providing a form for the users to fill out, then you're doing something completely different from craigslist. You don't have to show the person's real email address on the form, and they're using your form, not their own email program, to do the reply, so there's no need to show any email address at all, anonymous or real.
If you're going to let people use their own email programs and provide them with an email address, then use the anonymizing service, which will add some load to your servers since they'll have to parse and process incoming emails at a variety of addresses. If you're using a form, you don't have to show any email addresses at all.
You are the one sending it, and it really comes from your server, not the person who filled out the form on your website. So no, there is absolutely no way they can see the real address it went to.
Why does craigslist take it a step further? Not sure, but its not for that reason.