sms – Is it possible to intercept messages from e-mail addresses or expired phone numbers? If yes, how

The SMTP protocol has always supported servers temporarily down. The nominal use case is that a message is sent by an email user agent (usually a mail reader like Thunderbird) to its nearest mail transfer agent (sendmail, postfix). , exim, etc.), which is declared as the SMTP server.

Then, the MTA attempts to deliver the message to a recipient. sender it lacks connectivity (common to the corporate network) or an SMTP server that states that it can process the recipient's e-mail address. One or more relay can be involved in the chain.

And each MTA agent in the chain is normally able to queue the message for a variable length of time (usually between a few hours and a few days) until its next hop is respected.

The only problem is that there is no tool to find out where a mail can be queued up. The only way I know is to contact the administrator of the first SMTP host and ask him if the mail is still in his queue or has been delivered and where, and repeat the chain up to that you find the mail or that you can not get an answer. admins.

In short, if you know the senders, the only reliable way to ask them to send the mail to a different address. If you do not do it and the email provider can not get it back in a short time, I can not imagine any solution.

Can a ready action be used to intercept / interrupt a melee attack?

Can I prepare my action to intercept a melee attack against another player?

For example: My companion casts a spell, I stand next to him. I prepare an action "if the caster is attacked, I intercept the attack so that its concentration is not broken". A creature the attack. In response, my ready action triggers and stops the attack.

Is it allowed or not by immediate action?

php – Is it possible to intercept all ajax queries and get the parameters and returns?

Is there a hook that always passes by, where I can see all requests, as well as returns after "action" that is executed?

I have to intercept all requests, including those from WooCommerce. From what I've seen, it seems that he's using another way to handle ajax requests.

I need something like this:

Ajax (object js):

action: & # 39; getSomePostsHtml & # 39 ;,
param1: a little param 1,
param2: a few params 2 & # 39;

Other side by PHP, on my functions.php or another file …:

function someAjaxSent () {
// ajax actions are sent? go here ...
echo & # 39;
& # 39 ;;
print_r ($ _ REQUEST);
echo & # 39;

& # 39 ;;

// show something like that
// [
// action: 'getSomePostsHtml',
// param1: 'some param 1',
// param2: 'some param 2',
// ]

And on the return, show what comes back after the action is running:

function someAjaxSentReturnData ($ dataReturnFromAction) {
// after performing the action, return data, go here ...
echo & # 39;
& # 39 ;;
print_r ($ dataReturnFromAction);
echo & # 39;

& # 39 ;;

// board (
// [fragment] => Table (
// div.something => & # 39;

Html posts data ...

& # 39 ;,
// div.somehingElse => & # 39;

Lorem ipsum ...

& # 39;
// [hash] => ASDF123
// [postsFound] => 20
// ...

My idea is to know and save the journal of all what users are doing on the site / store via ajax, for example:

  • loading parts of the site via ajax
  • filter products via ajax
  • add to cart via ajax
  • recalculate shipping via ajax
  • remove products from cart via ajax
  • adding filters and etc …

The part of saving this information is already done, I already use it in the loading pages with hook add_action (& # 39; template_redirect & # 39 ;, & # 39; myInterceptFunction & # 39;); now, I just have to intercept ajax requests as well.

development – How to intercept unconfirmed transactions?

How can I catch possible unconfirmed transactions, so those who
fled to the database when were posted for the first time but in the process were
rejected / not confirmed in the next 6 blocks.

A transaction (TXID) is introduced for the first time in two ways. wallet:

  • 1) Acceptance in mempool
  • 2) Confirmation in a block

A transaction in mempool has no mining guarantee and a confirmed transaction may have never been seen before in your local mempool. Therefore, you must be able to differentiate between the two scenarios and only store transactions that receive a confirmation.

Reorgs: In addition, there is no guarantee that a previously confirmed transaction will receive confirmation of the following blocks. It is possible that the following blocks form a separate branch, so that your previously confirmed transaction is no longer part of the strong chain. This is where incrementing the confirmation with each new block, as you describe it, will fail.

It is best to check the longest header string (they must be linked via a header hash prev) and to ensure that the transaction is included in this string the longer when calculating the transaction confirmation level. If this longest header chain reorganizes, you can update the confirmations of all transactions accordingly.

GraphQL – How to intercept Apollo / GraphQL "internal" errors – Java Spring Boot

I started working with GraphQL for a week and I still did not know how to detect GraphQL's "internal" errors such as CoercingParseValueException. Because our frontend uses this final node to receive information about the shipment. When the schema or mandatory field is missing, GraphQL itself sends an error that has just received a message with arbitrary strings that you must parse in front to understand this message and show the client the correct error.

For our project, we defined an error model for custom errors. This error model contains a code field with a self-defined code for each situtation such as NotFoundException, ValidationException, and so on.

But how can I detect GraphQL errors and modify them?


The public class GraphQLErrorHandler implements graphql.servlet.GraphQLErrorHandler {

public list processErrors (List listing) {
returns (). map (this :: getNested) .collect (Collectors.toList ());

private GraphQLError getNested (GraphQLError error) {
if (error instanceof ExceptionWhileDataFetching) {
ExceptionWhileDataFetching exceptionError = (ExceptionWhileDataFetching) error;
if (exceptionError.getException () instance of GraphQLError) {
return (GraphQLError) exceptionError.getException ();
returns an error


It does not work for me ProcessErrors is never called. I use Spring Boot (Kickstarter version)

For custom errors, I use the new feature published for 10 days.

@Component ("Class in this class")
Public class GraphQLExceptionHandler {

@ExceptionHandler ({NotFoundException.class})
GraphQLError handleNotFoundException (NotFoundException e) {
send e;

@ExceptionHandler (ValidationException.class)
GraphQLError handleValidationException (ValidationException e) {
send e;

This approach works perfectly with custom error messages. To use this feature, I need to enable the graphql-servlet property activated by exception handlers and set it to true. However, this approach does not recover Apollo / GraphQL "internal" errors, even if the ExceptionHandler annotation is set with Exception.class.

Maybe you can help me with this problem?

thank you so much