Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Would it be best to read from gmail via pop3/imap? Or should/must I use an http script that actually logins in via web interface and gets all the emails that way?
Also, I would like to iterate this question for:
live
hotmail
[any other major web mail provider]
To read incoming messages, you should use POP or IMAP.
To send messages, you should use SMTP.
Your choice of protocol depends on what you're trying to do and what the mail provider supports. (Gmail supports all three)
Use POP if you want to process all incoming messages without affecting them elsewhere.
Use IMAP if you want to manipulate the messages on the site (eg, to move them into folders).
Use SMTP to send email.
Manually scraping a webmail site (especially a modern AJAXy webmail site) is a recipe for disaster.
POP or IMAP will be standard for a long time; you would certainly have to make ongoing compatibility changes to an http script. Besides being barbaric.
Also, remember SMTP is for sending mail, not reading it.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have made an application with React native and the application consumes information from an api made with django rest framework.
while working with this I had a concern on how to transfer card information from the application to the api.
I configured the server to use ssl certificates, but i feel this is not enough.
My question is, what and how are the best and safe ways to pass card information from my app to the server?
I appreciate experiences and knowledge
I would suggest to not send card information to your server. Instead use one of the modern payment provides:
Stripe
BrainTree
etc (there are quite a few services that work this way)
All of these providers work a little differently to how you were thinking of taking payments:
What you do is in your frontend you send the user's card-details directly to them (Stripe or braintree etc)
they then store these securely and return to your frontend a random ID.
You can then send that to your backend (and store it)
to charge the card you hit their api asking them to charge the stored card for the ID.
This way your server never has the users card details.
If processing payments is not part of your core business, it is advised not to attempt store or process the card numbers yourself. The rules on security around handling card details are extremely complex. An example of this is the PSD2 of the European Union (for an easy to digest piece on one of the obligations, read this)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm going on develop web api server (php) that has an attendance feature
client need me to make fingerprint-direct-to-webserver I created
So, my question is what is the easy way to accomplish this requirement?
Does it have any Fingerprint that already be able to do this? (connected to PHP web server, or it has an API to reply what data inside it?) [If it already in market, I might not need to created it]
Does anyone ever do this before, I'm looking on some IP Fingerprint (such as BIOEntry / BioStation series), I'm little worried that, is it has some encrypted key also or not, if it has it might be problem for me. could you give the fingerprint product name?
How fingerprint send the data? (GET/POST? TEXT/XML/JSON? If you have some copy/paste of its data, it would help me alot)
Yes there some middleware solutions available to integrate fingerprint attendance with web based applications. Bio-Plugin™ is one of them that can be integrated with your web api server (php). Also encrypted key might be available now. The system send fingerprint data thorugh SOAP protocol. Hope this will help.
Almost the same web api exist in the market. API details are http://camsunit.com/application/biometric-web-api.html.
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 8 years ago.
Improve this question
It's been a month that I use a service that monitors my website and if the website is down email alerts are sent for me.
I checked my visitors last day and found that almost 5000 visits have been added two my site since using this service and this service is generating fake traffic for my web site.This service watches HTTP protocol and if HTTP service is down the email is sent.
My concern is that I don't know that this fake traffic affects my SEO or not! If yes I prefer not to use monitoring tools for my website.
Maybe you will have some trouble indirectly, because these visits can spoil your traffic quality. For example, if they increase bounce rate, that is a bad signal for Google. Besides that, you should create another view in Analytics, and apply filters to remove traffic from these sources in order to have a real insight into your traffic.
That tool should identify as a robot, so their visits are not counted in Analytics. If that's not the case, I would recommend changing the tool.
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 5 years ago.
Improve this question
I know Apigee comes with several out of the box API to do deployments and query various pieces of information. Is there a lightweight out of the box API that we can give to our customers to verify if the APigee platform is still alive and running? This will prevent them from sending us API traffic when the system is unable to process it.
The following may be a good partial solution, but it really depends on how you intend to expose this information, where your monitoring server sits in the architecture, and what facilities you have to process/report status. That said...
Depending on what you define as 'lightweight', there is an option for OPDK installations to CURL on the following:
http://{management-server-ip}:8080/v1/servers
To check status, there is a field called IsUp (Boolean). To get more specific, you can use the query parameter type so you can get back specific components. The valid values are:
http://{management-server-ip}:8080/v1/servers/?type=app-datastore
http://{management-server-ip}:8080/v1/servers/?type=kms-datastore
http://{management-server-ip}:8080/v1/servers/?type=message-processor
http://{management-server-ip}:8080/v1/servers/?type=router
I don't believe this is possible on Cloud due to the nature of component resourcing.
If you are trying to determine whether Apigee is able to serve your own APIs, it might make sense to create a ping API call manually. You might want a couple of different flavors -- one that immediately turns around and responds from within Apigee (testing connectivity to the Apigee layer), and one that pings your backend servers (testing end to end connectivity). Anything out of the box wouldn't be able to ping your backend.
What many customers do is create a "Health Check" API Proxy.
This can just be an Echo Server, which you can easily create by building an API Proxy with No Target.
In the New API Proxy tool, choose (o) No Target. And that's it.
Then whatever data you pass to that proxy will be returned in the response.
For example:
$ curl http://{your-org}-{env}.apigee.net/v1/healthcheck -d "Hello"
Hello
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 4 years ago.
Improve this question
I have to send text message reminder to cell phone of a customer. That should be handled from web application (or automated with windows service). Text message should be sent to Canadian cell phone and provider of that phone is not exactly known beforehand (can be Bell, Telus or anything else).
Is there any reliable API provider for such task? I need a web service that would be integrated with .NET application for doing it and it should be either free or inexpensive. I did Google search on the topic and it seems there some providers out there but it would be really great to hear from somebody who can have real experience with such API provider. My goal is to send about 10000 remainders per month.
I would appreciate if you could advise.
Thanks!
I have had good luck with TextMarks. You pick a keyword that your users send in an SMS message to the TextMarks shortcode number. This confirms that the mobile user has opted in to receive SMS messages from you. You can then send them SMS messages and even create programs that respond to a users input. For example, have the user send a zip code and get a response of stores nearby. They are relatively inexpensive and offer various tiers of pricing, including a free trial option.
I also came across ClickATell which is able to provide you with a unique shortcode. However, last time I checked getting a unique shortcode was in the range of $500 per month plus costs you would incur to send messages. Here's their pricing calculator:
http://www.clickatell.com/pricing/pricing_wizard.php
TextMarks doesn't work in Canada, but we do have a .NET API wrapper that we just released. If you were looking for this for the US, we could help you.