wordpress contact form not sending email [closed] - wordpress

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am developing a contact form on my wordpress blog on a windows server(not for my choice...).
I am having trouble to make wordpress send email.
I've been using most popular plugin for this (Such as Grunion Contact form and Contact 7), all working on my preview machine(Linux based).
Anybody knows about this issue? is it a php server configuration?

The SMTP issue has become a lot more common for sure. As another option to CF7 with Postman, you could use Formstack instead. Formstack gets around the SMTP issue perfectly, without the need for additional plugins.
All forms can have periodic sending issues, which can be super annoying. Formstack has been awesome, but we did encounter a recent issue, which related to a client's mailbox, so it could be worth a read to help you. The form wouldn't send (although it did store all the submissions) and this was triggered by a periodically full mailbox. The result was the client's email got blacklisted.
Check out our trouble shooting article about Formstack Emails Not Sending. Even though it's Formstack specific, I have a feeling this could affect other forms too, so it could come in handy.

A great plugin that helps you diagnose these issues and even give your CF7 plugin another mail engine to use is Postman SMTP: https://wordpress.org/plugins/postman-smtp/. I use it in conjunction with Contact Form 7 with great results. It will create a php mail engine for you if you need one/haven't built one already.

Related

telegram web login widget /setdomain does not work [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I'm trying to use the telegrom web login widget.
I have followed the instructions here:
https://core.telegram.org/widgets/login
And I have set up my bot and selected it with the BotFather, but when I enter /setdomain it just points me back to the url above. I don't seem to be able to actually configure my domain anywhere.
When I use the code snippet created on that page on my web site, it just displays:
Bot domain invalid.
Has anyone else had luck setting up telegram login on their site?
So, it turns out the wording that the bot uses is a bit confusing:
Here is how the dialog goes, and how you need to respond to Botfather:
Me:
/setdomain
Botfather:
Choose a bot to set or change its linked domain. See Login Widget documentation for details:
https://core.telegram.org/widgets/login
Me:
#thenameofthe_bot
BotFather:
Link your website with your bot to use the Telegram Login Widget. Widget documentation:
https://core.telegram.org/widgets/login
Use /empty to remove.
Me:
https://www.thenameofmysite.com/
BotFather:
Success! Domain updated. /help
The mistakes I might have been making were:
a) Not using the # sign for the bot?
b) Following the link to the site and expecting to see further configuration there, rather than typing in the website after that confusing response.

sign in with linkedin hubspot [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I'm looking to find out if I can use the "Sign In with LinkedIn" feature / API with forms from HubSpot. I asked HubSpot about it and this was their response:
The auto-fill feature on LinkedIn sounds like it could be very efficient, but I am not too familiar with it. Judging by the link you sent, it looks like this feature may be limited to certain users. The article says that it may still be in beta and the author is not sure how LinkedIn is granting access to the feature. I recommend getting in touch with LinkedIn support to find out if it is available and how to add it. If they are able to provide you with an API key and instructions to insert the code, I would be happy to look into it further.
Could you provide any help following their response?
I don't have much API knowledge at all, and your support email told me to submit on here!
HubSpot does have a new connection feature with LinkedIn Sales Navigator.
https://knowledge.hubspot.com/articles/kcs_article/integrations/how-to-connect-hubspot-crm-and-linkedin-sales-navigator
I've found this page very helpful for me: http://hsfox.com/sign-in-with-linkedin-for-hubspot
Also please find below answer from HubSpot
"To push information that is in the form fields to be auto-populated with LinkedIn and then pushed into your portal database would require an integration with our Forms API and the LinkedIn sign-in API:
https://developer.linkedin.com/docs/signin-with-linkedin
This is currently not possible natively in HubSpot, but can be done using some development work. I would recommend working with a developer to achieve this or alternatively you can reach out to our developer forums"
Hope it helps
Best
Matteo

Spam users in Drupal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am using Drupal for the content of my website. I mean, I use it as a content editor, but serve the content with my custom PHP pages. Anyways,
I'm seeing a lot of users that are registering and commenting in my Drupal site, the usernames are like
jennipoehmkocmnxqs
traciezlnvafjlasp
frederickajefferson
rowenanskmsqynljyxl
krystle03qgatdzutama
So they are obviously coming from one (if not more) bot(s).
And I don't want to implement re-captcha since I want to encourage my visitors to add content. So I need to find a way to find the source of this bot. Maybe an ip address, and block it from my domain. Do you have any idea what bot is this, or how can I track it?
I've looked into Drupal database, apparently it does not save the ip address of users..
Thanks !
p.s.
And there are also spam comments like this:
I'm really enjoying the theme/design of your website. Do you ever run into any web browser compatibility problems? A number of my blog readers have complained about my website not operating correctly in Explorer but looks great in Opera. Do you have any solutions to help fix this issue? Look at my weblog :: _sell my gold_ (link that redirects to www.swiftcashforgold.com/what-we-buy.php)
I had the same problem with fake users on an e-Commerce site that didn't even allow comments. Implementing reCAPTCHA on the registration and login screens definitely seemed to cut down on the number of fake signups we got quite a bit, but you are definitely correct about it being an annoyance to users and a bit of a barrier to their activity, and in a lot of cases it just doesn't work because humans are filling it out.
A different approach that will at least help you deal with the comments is analyzing the content of the comment and determining if it is spam that way. For this, you can use Mollom, Akismet, Defensio, or a similar solution. These services are configured by default not to display a CAPTCHA, but they instead check the patterns of the many submissions that run through their respective services, and are in many cases they are able to auto-detect spam and "quarantine" bad comments due to the wealth of information they have.
These are all subscription services with free starter plans. If you have a lot of legit comments coming into your site on a daily basis, you will have to pay a monthly fee. All of these solutions have Drupal modules which allow for their integration into Drupal forms.
I know Mollom also supports protecting the user registration form by default, but I don't know for sure if any of these modules will completely solve the problem of fake users signing up because I haven't tried it yet. It's possible that one or more of these modules will mark a user for leaving spam comments. Hopefully this will help with both problems, but it will definitely stop the comments.
You could validate that email addresses of people that register, actually exist.
This can be done using the PHP class (below) that sends SMTP commands to their email server, but not an actual email.
That way you know they are valid users (and where they came from) without actually sending them pestering emails.
http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/smtpvalidateclassphp/

Is there a wordpress plugin for creating an API from your site? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'd like to use the data from my wordpress site in an API form. Maybe REST with JSON output. I'm wondering if there's any plugins that automatically make the wordpress data accessible from outside the site its running on, similar to the way most web APIs work.
WordPress is basically a REST-powered platform to begin with. You enter a URL with a particular query string (sometimes buried in a 'pretty permalink') and the system returns a semi-static resource based on the layout and structure defined in your theme.
To build it into an 'API' you'd need to first identify what information you're returning and how you want to structure it. Do you want people to access your data via a typical link (http://blog.url/?post=xxx&category=xxx&whatever=xxx)? Or do you want to keep running a typical blog but allow API access through another mechanism?
If you want the second route, you could always hook a plug-in into WordPress' built-in XMLRPC service. Then users will make a request of something like http://blog.url/xmlrpc.php?resource=xxx&variable=yyy&somethingelse=zzz and your site would return whatever information you want (though this would be SOAP, not REST ... so it's really up to you).
See my answer here for a specific example with WordPress code ...
I have used this REST/JSON API plugin with some success, so while not for creating an API, you could possibly pull it apart and change it to your needs? This plugin seems to only support output, and not input (comments etc). There also seems to be discussion regarding creating similar api plugs for both input and output, and that might be one way to go, also. Have fun!
Yes there is a way, and I just found it!
You can go here: http://developer.wordpress.com/docs/api/
all you have to do is fill in your website into a request like:
https://public-api.wordpress.com/rest/v1/sites/$yourSiteHere/posts/
and you'll get a beautiful JSON back.
You can post comments, get data, and add queries pretty easily.
If you want to do more that requires login, you can use oAuth.
API Endpoints wordpress plugin lets you construct any API out of your WordPress site.
If you are a Wordpress plugin developer and you need a RESTFul API maybe thermal-api.com can help you: Wordpress plugin to connect to a REST API?
But I think the best way is using WP-REST-API: http://v2.wp-api.org/extending/adding/

Wordpress website is automatically redirecting after load [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I asked the following question on SuperUser.com and the question was closed. Maybe it should be asked on ServerFault.com. Not sure.
But here it is on SO hoping it will get some traction.
Hello,
I have a wordpress website. It is NOT a wordpress.com website. This website is hosted at godaddy.com This weekend whenever I fired up my browser and loaded the landing (or any other page) there it would load (firefox would say "Done") and then after a 1 second pause the browser would redirect to some seemingly random website.
Unfortunately (or fortunately?) this is an intermittent problem.
I use difficult to break passwords for my wordpress admin.
Any ideas on how to troubleshoot or what the problem is?
Seth
EDIT
Yes, the url is http://www.meeting-minutes.org. For the record, the reason I did not include the url when I reposted my question here is because I thought that someone might think that I am just trying to promote the software that I reference on the website. That is genuinely not my purpose.
EDIT Thanks for the help. I have taken the site down by simply renaming the hosting folder (so it now returns a 404 which is fine.) I will clean it up and redeploy after cleaning it up.
For the life of me I don't know how this could have happened.
Seth
Your Weblog has definitely been hacked. I can see very evil-looking JavaScript code in the source code of your blog:
<script language=javascript>document.write(unescape('%3C%73%63%72%69......
It is probably code to redirect to other sites, as you say. Your Blog's security must have been compromised somehow, this is definitely in your template's source code.
You should download everything and take the site down immediately to protect your visitors, and your site's reputation (to prevent it from getting on any malware blacklist). Check out the "Getting your site off line" chapter in the 2nd link. I don't know which version of Wordpress you're using, maybe WP's forums can be helpful in finding out how the break-in occurred. Maybe it's also a good idea to inform the hosting company and see whether they can provide any additional information. If you have access to any log files, fetch a copy and look whether they tell you anything.
Links:
Google Webmaster Tools: My Site has been hacked
My site's been hacked - now what? Very nice article on Google Webmaster Central
For later maybe:
Hardening WordPress
Specific to Wordpress (and linked numerous times in the Wordpress forums): FAQ: My site was hacked « WordPress Codex and how-to-completely-clean-your-hacked-wordpress-installation.
I would try accessing the site with JavaScript turned off. That would be a quick way of verifying if someone had put that in an onLoad. It certainly could have been written to fire intermittently.
If you have file access to the server, I would look at the .htaccess file, which might have rewrite rules in it.
Lastly, I would try accessing the website by IP address to detect DNS problems, but I find it highly unlikely it would work that way.
Don't forget to look closely at changes to your theme, which is the most likely avenue of attack.

Resources