IN divi conatct form submissions getting weird emails in inbox - wordpress

In my Wordpress site I have configured the divi contact from module and After submission I am getting some weird emails like I am getting message pattern as it is in the email rather then actual details of user.
And when I tried to submit the same form multiple times, form is working correctly and getting desired details.
I have tried sending email multiple times.
Checked server error logs and found xmlrpc file enabled and multiple hits on that file.
Below is the email I am getting form user.
Hi,
you got a message from xyz website.
this is from %%name%%, the email id is %%email%%, company name is %%company_name%%.
And the message was ...
%%msg%% .
%%subscribe%%**
This is the desired result for form submission.
Hi,
you got a message from xyz website.
this is from ABC, the email id is abc#gmail.com, company name is ABC.
And the message was ...
ABC .
I also subscribe the form.

this is from %%name%%, the email id is %%email%%, company name is %%company_name%%. And the message was ... %%msg%% . %%subscribe%%**
Here %%name%%, %%email%%, %%company_name%% are the ID field of the form fields. Make sure you have entered the correct values of the ID field. There are chances that you may have entered the Label value instead of ID value.
Kindly share the screenshot of the Contact Form Message Pattern screen where you enter these details. So we can help you.

that is not the issue, It was a spam message and prevented these kind of messages using cleanTalk or Wpbruiser plugin, got resolved my issue.

Related

WordPress Contact-Form 7

I would like to add a field with 2 emails for reception but I don't find it.
[select* recipient
"Problem|tata#gmail.com"
"Idea|titi#gmail.com"
"Other|toto#gmail.com"]
I would like to do something like this :
[select* recipient
"Problem|tata#gmail.com"
"Idea|titi#gmail.com"
"Other|toto#gmail.com|tutu#gmail.com"]
It gives me an error and I don't find any syntax to do this.
How to send to two email addresses with a specific field with contact form 7 ?
EDIT : I found the solution here : Contact Form 7 send to multiple contacts at once upon user selection
To get value before pipe, you can use [raw{field name}], that means [_raw_recipient] in your form

Goal,cause & prevention of wordpress contact-form spam?

Our domain email address started receiving blank spam emails from our contact form (this is known from the header). They are from seemingly random email addresses and have no content. They are received roughly every 5 minutes with occasional 45 minute breaks. The form works correctly and I've tried both Askimet and Honeypot plugins (both together and separately) to no avail. The contact form (Contact-Form-7) has required fields. I believe Honeypot is failing due to the blank content and the hidden field not being populated. Here is an example of what the email contains:
From: WordPress [mailto:info#domain.com]
Sent: Thursday, April 13, 2017 3:47 PM
To: info#domain.com
Subject: contact form from domain.com
Name: 58f0002d1ad5f 58f0002d1ada9
Email: randomname#random.com
Subject:
Message:
The random name & email services are from various providers (billy#hotmail.com, kelly#yahoo.com, jim#gmail.com, etc). The Name field contains a seemingly random string (58efeaa9252e7 58efeaa92532d, 58efeaaf3099c 58efeaaf309da,58f0002d1ad5f 58f0002d1ada9, etc)
What is responsible for this particular type of spam?
What is the actual goal of blank spam email?
Is there another plugin or workaround that could filter the spam besides captcha?
Honeypot will not catch blank email spam as noted above. Invisible reCaptcha will prevent this particular type of spam.
As far as possible motivation(s)/reason(s):
1.The spammers send the e-mail, along with a million others. Some bounce, some don't. They now know which e-mail addresses are still current.
2.Some people, amazingly, actually reply, even if it's just to say "Unsubscribe me!". Bingo, the e-mail address is current and there's a person behind it, and that person actually opens e-mails sent by the particular send address they've used.
3.Sometimes the content isn't as empty as it seems. For instance, many spam messages contain a one-pixel-by-one-pixel image with a trackback url; as soon as you view the message, they get pinged that this particular pixel was viewed - Bingo as above. That's the reason many modern mail clients warn you about images in messages and suggest you don't view the images unless you trust the source.
You could use invisible reCAPTCHA or use Contact Form's build in quiz/question.
I'm having the same issue with this bot/spammer. Honeypot doesn't work for me either. Would be interested to know the source and goal of this spammer.

Wordpress/Woocommerce User Registration in Steps

I have come across a client request that requires me to design woocommerce user registration in different steps. Since i am new to woocommerce i need your help on this please. Here is how the client wants it.
STEP 1: This step will happen on the "My Account" page that contains Sign In and Sign Up form both. Here the Sign Up form should have only two fields that is Username and Email.
STEP 2: From step 1 after validation, the user should be send to Step 2 where all the other fields should be asked from User. Others fields can include First Name, Last Name, Address, Password etc.
STEP 3: After Step 2a confirmation email should be sent to User and upon putting right code he/she can become a sucessfull member.
Now if there is a plugin that can do this let me know otherwise i prefer coding it. Kindly help me out here guys as i have always got what i am looking for on stackoverflow.
Regards,
Maddy
You need to create custom code there is no plugin available for the same.
1) Create custom template for register.
2) After fillip both data you just need to call user resgietr function https://codex.wordpress.org/Function_Reference/wp_insert_user

Create topic using a bot

I'm in a situation in which i need to be able to create a topics using self created bot. My forum has a special category and user, which can create a topics in that category.
Technology i'm using to create that bot is ruby + mechanize gem but it's not important right now. That bot works in a following way:
Sign in as previously mentioned user:
visit - /ucp.php?mode=login
fill the sign-in form using user credentials
if, after submiting a form, there is a sign-out link somewhere on the page, threat this whole process as "successfull"
Create a topic
visit - /posting.php?mode=post&f=21
fill subject field with desired subject
fill message field with desired message
submit a form using Submit button
And now, while first point works just great, the second one behaves in a strange way. After submiting a form, there is no error message or anything like that, i'm just getting redirected to /viewforum.php?f=21 (log's says that it's 302 Moved Temporarily status) page and the topic is not there.
Can anyone tell me what such behaviour means? Is there any security mechanism i don't know about? Please also note that the new topic form has form_token and creation_time fields filled correctly while form is beeing submited.
Thanks in advance for any clues.
According to this thread: https://stackoverflow.com/a/11713867/552936, user is treated as a bot if he sends a form without any delay (and it end's up with a 302 redirect). I can't find any info on google what's the exact delay, carck3r says that it's 8 seconds but for me, it was 2 seconds.

How can I click on a specific email at Gmail using Selenium IDE?

I am trying to run a test on selenium IDE to enter to my Gmail, select the specific new email from all my email enter and click on a specific link that the email has.
I've been going round and round this and cannot find and answer!
I have read another post that has this help:
//div[#class = 'y6']/span[contains(., 'subject here')]
This does not help because the same email has been sent lots of times.
This case has the following particularities:
1. Since is a case that it will be run several times, emails with the same sender, subject and body will be send.
There should only be one new email every time the test is fun, since the idea is to enter and check the last email.
Inside the email there is a button that needed to be press, which I have the id, but I just need to enter the email to do so.
I have used the following CSS that so far has found what i need to click, but when I ask Selenium IDE to click it, it does nothing (clickAt, clickAndWait, clickAtAndWait... nothing!)
css=div[class=yW] > span.zF:[email='myemail#myemail.com']
I have also notice that the class="zA zE" in Gmail indicates that the email has not yet been read.
Help!
Thanks,
This is strange, because clickAt | css=div.yW > span.zF[email='myemail#myemail.com'] works fine for me. More than that, clickAt | css=span[email='myemail#myemail.com'] will always open first message(last one) with this email in the list.
BarbSchael,
A similar solution can be drawn by using Xpath of the FROM field.
I used this command:
clickAt | //table/tbody/tr/td[5]/div[#class='yW'] |
Click at the FROM field of first/recent/top most mail to go to mail detail page. // note: tr for first mail, tr[2] for second and so on.

Resources