system() in C gives unrecognized command error, while using the same command in CMD works

I have this straightforward code here:

#include <stdio.h>
#include <stdlib.h>

int main()
{
    system("msg "%username%" hi there");
    return 0;
}

The program throws this error:

'msg' is not recognized as an internal or external command,
operable program or batch file.

However when I just copy-paste the command in cmd and run it(excluding the backslash()s) like this:

msg "%username%" hi there

It doesn’t throw any kind of “unrecognized command” error and works finely:

enter image description here

What can be wrong? How can I fix it? I have also read some related discussions: question1, question2, etc. But these didn’t help me(probably because I didn’t understand them, rather than they answered unclearly).

What can be wrong? How can I fix it?

Thanks!

networking – Hi there, I’m a newbie to ubuntu and just installed ubuntu 20.04 and after the install I noticed that my wifi driver was unrecognized

I was using windows 7 before the update and before the update the driver was working good it was detecting all the WiFi networks but after the update there is a notification which is ‘NO WIFI – ADAPTER FOUND’. My WIFI driver model is -07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

Please help me, I have to attend my classes, so please help me as soon.

Thank you!

transactions – unrecognized output wallet when using Electrum to send bitcoin

help me understand this transaction – https://www.blockchain.com/ro/btc/tx/1318a3e54cff78fdd8f6b54e6fe5115072586091788c9bfa08ca82d83e4bc276 .

Never sent bitcoin from hardware / hot wallet before so I am new to this

So I tried a demo send from one wallet ****c276 to my crypto.com wallet **xmhue

  • so I understand that my wallet was converted to a new wallet ****qhev with the remaining amount

what I don’t understand:

  • 0.001 of my bitcoin got sent to the correct crypto.com wallet, but 0.001 of my bitcoin got sent to a unrecognized wallet – ***myAn – I don’t understand what this is
  • I don’t know how Electrum chose that wallet for sending the payment , is the choosing of the wallet automatic from Electrum ?

postgresql – Unrecognized configuration parameter when using set_config(text, text, boolean) in CTE

I’m trying to implement a simple ABAC system using row level security, with main policy defined as following:

CREATE policy resource_access ON resource
USING (
  (
    org_id::varchar = current_setting('scope.org.id', true)
  )
  AND 
  (
    acl_read && regexp_split_to_array(current_setting('scope.acl'), ',')::varchar()
  )
)

Issuing queries akin to:

WITH 
  acl AS (SELECT set_config('scope.acl', 'ACL', true) "__acl"), 
  result AS ( ... )
SELECT * FROM acl, result

With the main reason to use WITH is to avoid multiple statements when queries are later PREPAREd and EXECUTEd by the Postgres driver I’m using.

The result in example above can contain any arbitrary queries required by the application. To ensure that set_config is executed in the query, it’s also added to the final SELECT.

However, I still do consistently encounter the following error:

QueryFailedError: unrecognized configuration parameter "scope.acl"

Which appears to be caused by executing the subquery from WITH in isolation from the result query.

So the main questions are:

  • Is there any elegant way to ensure running set_config before the main query (the one in result) is executed?
  • Is there any better way to construct queries for the application side, to avoid using WITH, but keeping them as a single SQL statement?

Thank you!

postfix – Unrecognized mails sent from my mail server – please help to find the “hole”

Since about 2 weeks, I am receiving from time to time (about 2-3 times per week) similar emails:

enter image description here

What do I have:

  1. A VPS (webserver) with WordPress, configured to send emails via SMTP, thanks to the WP SMTP Mail plugin.
  2. A VPS – only mailserver

What did I do:

  1. Upgraded wordpress, all the plugins.
  2. Checked if there are unrecognized files. Or recently edited files. Didn’t find anything suspicious;
  3. I installed Wordfence security to check for vulnerabilities and legit files with injected code. Nothing found.
  4. I changed the email password in the webserver

The problem is that even after this, somebody seems to be sending emails via my webserver.

Here is for example what happened today. And it’s always a similar story. A few emails sent…

# journalctl -fn 1000 | grep sakura
Sep 30 07:30:57 mail01 postfix/cleanup(4143): 61A7FF93: message-id=<vw5uL7UMIQ0H5Fb7o3KoZF7NMQ73saNBhiLITT5fmo@www12052uj.sakura.ne.jp>
Sep 30 07:30:58 mail01 postfix/smtpd(4159): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:37:43 mail01 postfix/smtpd(4435): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:37:46 mail01 postfix/smtpd(4435): 6D68EC3A: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:37:47 mail01 postfix/cleanup(4473): 6D68EC3A: message-id=<aIjPxjvWOUhSbINj0zB2rS9Sv92eW6Kh873VboODnA@www12052uj.sakura.ne.jp>
Sep 30 08:37:47 mail01 postfix/smtpd(4435): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:39:12 mail01 postfix/smtpd(4435): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:39:14 mail01 postfix/smtpd(4435): C1BECC3A: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:39:15 mail01 postfix/cleanup(4473): C1BECC3A: message-id=<CdRJerGkONpdwo23q8vV7e8lYtGhEcme3KTcSgjU4Y@www12052uj.sakura.ne.jp>
Sep 30 08:39:16 mail01 postfix/smtpd(4435): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:42:20 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:42:23 mail01 postfix/smtpd(4486): 3EC9C348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:42:23 mail01 postfix/cleanup(4492): 3EC9C348: message-id=<jY8O1Wpu5kkGl8FKQQkYWJYiwqSsfsD36JLVlw1Jv4@www12052uj.sakura.ne.jp>
Sep 30 08:42:24 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:42:53 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:42:55 mail01 postfix/smtpd(4486): 81B33348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:42:56 mail01 postfix/cleanup(4492): 81B33348: message-id=<SKh0c00J1etjgOT64POgThsKKXVyfeeDaHBt0bkMLdo@www12052uj.sakura.ne.jp>
Sep 30 08:42:56 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:43:21 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:43:23 mail01 postfix/smtpd(4486): E19F3C3A: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:43:24 mail01 postfix/cleanup(4492): E19F3C3A: message-id=<CXXxWtGwZ4Cwy2NlxVO0z4eA0UMdQJ80VcUvGvqF7Q@www12052uj.sakura.ne.jp>
Sep 30 08:43:25 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:43:31 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:43:34 mail01 postfix/smtpd(4486): 65E1F348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:43:35 mail01 postfix/cleanup(4492): 65E1F348: message-id=<vvTRnzhRlIAChmDmRsamI7LQVfvxyt0r2WUtQYUTo@www12052uj.sakura.ne.jp>
Sep 30 08:43:35 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:43:57 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:00 mail01 postfix/smtpd(4486): 0890F348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:44:00 mail01 postfix/cleanup(4492): 0890F348: message-id=<efxLLPUEQRMqMkLAOIbyCWaJtlAeereJwU2ormaKOK0@www12052uj.sakura.ne.jp>
Sep 30 08:44:01 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:10 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:12 mail01 postfix/smtpd(4486): E8A37C3A: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:44:13 mail01 postfix/cleanup(4492): E8A37C3A: message-id=<9fnMFTPEpAUW5C1PLHxlApaiucMQOO77dp8UwX9dxU@www12052uj.sakura.ne.jp>
Sep 30 08:44:14 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:24 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:27 mail01 postfix/smtpd(4486): 6738FF8E: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:44:28 mail01 postfix/cleanup(4492): 6738FF8E: message-id=<b2cORcvDG9xmALsT019zmYoUdqY90LJqlScDWwq7fIw@www12052uj.sakura.ne.jp>
Sep 30 08:44:28 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:36 mail01 postfix/smtpd(4486): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:44:38 mail01 postfix/smtpd(4486): C49AB348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:44:39 mail01 postfix/cleanup(4492): C49AB348: message-id=<fWGmOWECMsY2AxCZpT6V31QHEi5mFQMrsK5JL4m3A@www12052uj.sakura.ne.jp>
Sep 30 08:44:40 mail01 postfix/smtpd(4486): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4713): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4704): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4711): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4714): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4719): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:18 mail01 postfix/smtpd(4721): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:19 mail01 postfix/smtpd(4712): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:19 mail01 postfix/smtpd(4726): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:20 mail01 postfix/smtpd(4728): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:20 mail01 postfix/smtpd(4730): connect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:21 mail01 postfix/smtpd(4704): 48848348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4713): 4C9F2F8E: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4711): 50345F93: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4714): 5426AF9E: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4719): 5F474FA9: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4721): 70B5AFAE: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:21 mail01 postfix/smtpd(4712): 86EA2FB3: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:22 mail01 postfix/cleanup(4733): 48848348: message-id=<3qLKINucOuWydZnpobH6S6Us5LBBzdPcO3zIz36Ml0@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4734): 4C9F2F8E: message-id=<0tDZPVlAs0LFISxgtHTiaJxaAVyZNHpKpsPAOjZAk@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4735): 50345F93: message-id=<PcTP3ElTKIRir9RANpc4aOMecWBdftLDTCUKNAiz4@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4736): 5426AF9E: message-id=<uTAOZeY806wbCI93o9uilV9pTPbGXoUmYBndlFXA@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4740): 5F474FA9: message-id=<RloSdki9xi4DXLa1YLVicDpIUSGbpIvAN0MhlmEng0@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4743): 70B5AFAE: message-id=<5c9I105B1hnLmMSYf4bTfjplDLbytoTED8PE9BbXY@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/cleanup(4746): 86EA2FB3: message-id=<SrKLsZchRS9rMrlGMxKlOkcJFRWDsHp2IIjGAtUT0FA@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 postfix/smtpd(4726): 4D8A7FB9: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:22 mail01 postfix/smtpd(4704): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4713): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4711): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4714): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4719): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4728): ABDD3C3A: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:22 mail01 postfix/smtpd(4721): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:22 mail01 postfix/smtpd(4730): BB156FC3: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.com
Sep 30 08:56:22 mail01 postfix/smtpd(4712): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:23 mail01 postfix/cleanup(4733): 4D8A7FB9: message-id=<czLvyJDuOdTSsy9fICg4I1HzkUXGEXBuxIsSbHDNQc@www12052uj.sakura.ne.jp>
Sep 30 08:56:23 mail01 postfix/cleanup(4734): ABDD3C3A: message-id=<iuqwelZVtDjFP5QzSw0dItIWjXq8iVnPQJq91ELgEZs@www12052uj.sakura.ne.jp>
Sep 30 08:56:23 mail01 postfix/cleanup(4735): BB156FC3: message-id=<mLefBr3sNdwSmDWlNEE4tB7pcO2xFQ15olg3cLsJDo@www12052uj.sakura.ne.jp>
Sep 30 08:56:23 mail01 postfix/smtpd(4726): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:24 mail01 postfix/smtpd(4730): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)
Sep 30 08:56:24 mail01 postfix/smtpd(4728): disconnect from www12052uj.sakura.ne.jp(133.242.204.66)

I also checked the webserver nginx access/error logs. In order to see if at that time there was some kind of access to “strange” files. Unfortunately no luck.

Here you can see a specific mail:

# journalctl -fn 1000 | grep 48848348
Sep 30 08:56:21 mail01 postfix/smtpd(4704): 48848348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=myemail@example.coml
Sep 30 08:56:22 mail01 postfix/cleanup(4733): 48848348: message-id=<3qLKINucOuWydZnpobH6S6Us5LBBzdPcO3zIz36Ml0@www12052uj.sakura.ne.jp>
Sep 30 08:56:22 mail01 opendkim(477): 48848348: DKIM-Signature field added (s=default, d=example.com)
Sep 30 08:56:22 mail01 postfix/qmgr(16502): 48848348: from=<myemail@example.coml>, size=11589, nrcpt=1 (queue active)
Sep 30 08:56:22 mail01 postfix/smtp(4748): 48848348: to=<somebody'semail@hotmail.com>, relay=hotmail-com.olc.protection.outlook.com(104.47.125.33):25, delay=1.8, delays=1.1/0.03/0.53/0.16, dsn=5.7.1, status=bounced (host hotmail-com.olc.protection.outlook.com(104.47.125.33) said: 550 5.7.1 Unfortunately, messages from (myserwerIP) weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3150). You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. (SG2APC01FT004.eop-APC01.prod.protection.outlook.com) (in reply to MAIL FROM command))
Sep 30 08:56:22 mail01 postfix/smtp(4748): 48848348: lost connection with hotmail-com.olc.protection.outlook.com(104.47.125.33) while sending RCPT TO
Sep 30 08:56:22 mail01 postfix/bounce(4752): 48848348: sender non-delivery notification: CDC92FBE
Sep 30 08:56:22 mail01 postfix/qmgr(16502): 48848348: removed

And this is the header of the email that bounced back in my outlook:

 **Return-Path: <myemail@example.com>
Received: from www12052uj.sakura.ne.jp (www12052uj.sakura.ne.jp (133.242.204.66))
    (Authenticated sender: myemail@example.com)
    by my.post.server (Postfix) with ESMTPSA id 61A7FF93
    for <somebody'semail@hotmail.com>; Wed, 30 Sep 2020 07:30:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
    d=example.com; s=default; t=1601443858;
    bh=utfoNWMb99AFg4TWR+gOqliMry7aOaKuFBDaWQsfoqw=;
    h=Date:To:From:Subject;
    b=oTPGnF35jN21TclrQ8j3+cr+eR+ltiZ6jANJ2a4XJVcFFc7cCcup+Snip2tdBXA08
     tsZ4juS2+Nd15xaZAR3YZC9nyKc/1Vobw+prHFAohp5DOiLtJ2RNOJeoLPEuQGfyPg
     qohhzwvMobXsdFn4MgNFnJqmDvZazXyc5rdhMFXY=
Date: Wed, 30 Sep 2020 05:30:54 +0000
To: somebody'semail@hotmail.com
From: =?UTF-8?B?Qk5MX0dydXBwb19CbnBfUGFyaWJhcw==?= <myemail@example.com>
Subject: =?UTF-8?B?TmVzc3VuYSByaXNwb3N0YSBhbGxhIG5vc3RyYSByaWNoaWVzdGEgZGkgdmVyaWZpY2FyZQ==?=
Message-ID: <vw5uL7UMIQ0H5Fb7o3KoZF7NMQ73saNBhiLITT5fmo@www12052uj.sakura.ne.jp>
X-Mailer: PHPMailer 6.1.4 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit**

Does anybody understand what is happening here?
From my understanding PHPMailer 6.1.4 suggests that mails are being sent with php mail() without loggin in into my server. However, the line Sep 30 08:56:21 mail01 postfix/smtpd(4704): 48848348: client=www12052uj.sakura.ne.jp(133.242.204.66), sasl_method=LOGIN, sasl_username=mymail@example.com suggests me that somebody is able to login even if I changed the mail password.

Please help to troubleshoot and find the root cause of this problem, so that I can fix it.

SMTP – DATA: 500 Syntax error, command unrecognized

After sending a HTML e-mail to a mailing list of about 1500 recipients I am getting a few errors I can’t seem to solve.

The list is being delivered successfully to about 1400 recipients and there are no issues with the major e-mail providers. The errors are all from privately hosted domains.

The first one is:

500 Syntax error, command unrecognized

This happens on the DATA command to about 50 recipients. The second error is actually an empty response on the DATA command that affects about 30 recipients.

To get to the DATA command usually this would mean the address is ok and there are messages available if this is not the case. I’m pretty sure there is nothing wrong with the syntax of the e-mail especially as so many other recipients don’t report such an error.

Is this a case of bad reporting on behalf of the recipient, or is there something that can be done on our end?

The e-mail has the correct line lengths, the multi-part-boundaries are correct and the DATA command is ended with CRLF.CRLF. I’m not really aware of anything else I could do improve the syntax, below is the general format of what is being sent:

Return-path: <noreply@something.com>
Subject: Subject 'Test' e-mail' test "5"
Message-Id: <1594286821-10591c461c13ae581c4d16144be57e688fd6e1d2986abda455213492680050e0a7b170e@something.com>
Date: Thu, 9 Jul 2020 10:52:00 +0000
To: <me@gmail.com>
From: Somwhere <noreply@something.com>
Reply-To: <contact@something.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="multipart-boundary"

--multipart-boundary
Content-Type: text/plain; encoding="UTF-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a HTML e-mail

Regards

Us
--multipart-boundary
Content-Type: text/html; encoding="UTF-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<head>
<style>
body {

    font-family:'Arial';
    
}   
</style>
</head>
<body 
<table height="100%" width="100%"  cellpadding="0" cellspacing="0" border="0">
HTML CONTENT HERE
</table>
</body>
--multipart-boundary--

reactjs – The tag is unrecognized in this browser

Estoy finalizando una app en React, cuando al darle los últimos toques de estilo y agregar unas etiquetas <spam> me sale este error en la consola del navegador: The tag <spam> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.
¿Alguien entiende la razón de por qué pasa ésto y cómo solucionarlo?

windows – ImageMagick with filenames with hyphens: “unrecognized option”

I am trying to use ImageMagick 7.0.10 on Windows 10 v2004 to crop images to a 256×256 square.

After cding into the source folder, which has a file called “-s-u-c-k- .png – (hex-a-decimal).png”, I run this command in Command Prompt:

magick mogrify *.png -resize 256x256^ -gravity center -extent 256x256 -path D:Picturesvapor256x256png *.png

This throws the following error:

mogrify: unrecognized option `-s-u-c-k- .png - (hex-a-decimal).png' @ error/mogrify.c/MogrifyImageCommand/6353.

Adding the option -define png:compression-level=9, as suggested by this forum post, throws the same error:

D:PicturesRedditVaporwaveArt>magick mogrify *.png -verbose -define png:compression-level=9 -resize 256x256^ -gravity center -extent 256x256 -path D:Picturesvapor256x256png *.png
mogrify: unrecognized option `-s-u-c-k- .png - (hex-a-decimal).png' @ error/mogrify.c/MogrifyImageCommand/6353.

The error seems to be caused by files that begin with a hyphen followed by a normal character, but not triggered by patterns like -- - (drop_trout).png or - 2 - - (kelvin9595).jpg. How can I successfully convert a folder with images with these sorts of file names?

ios – init: Unrecognized selector sent to instance

I am trying to implement the new mandatory (in June) authentication services in my ios app created with delphi Rio 10.3.3. for this I convert this class:

AS_EXTERN API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0), watchos(6.0))
@interface ASAuthorizationController : NSObject

/*! @abstract Authorization requests that are being serviced by this controller
 */
@property (nonatomic, readonly, strong) NSArray *authorizationRequests;

/*! @abstract This delegate will be invoked upon completion of the authorization indicating success or failure.
 Delegate is required to receive the results of authorization.
 */
@property (nonatomic, weak, nullable) id  delegate;

/*! @abstract This delegate will be invoked upon needing a presentation context to display authorization UI.
 */
@property (nonatomic, weak, nullable) id  presentationContextProvider API_UNAVAILABLE(watchos);

/*! @abstract Initialize the controller with authorization requests.

 @param authorizationRequests At least one request should be provided. Requests of same type maybe honored in first in first out order
 */
- (instancetype)initWithAuthorizationRequests:(NSArray *)authorizationRequests NS_DESIGNATED_INITIALIZER;

/*! @abstract Initiate the authorization flows.  Upon completion, the delegate will be called with either success or failure.
 Certain authorization flows may require a presentation context, the presentationContextProvider will be called to provider it.

 The instance will remain retained until the user completes the flow and the delegate callback is made.
 */
- (void)performRequests;

+ (instancetype)new NS_UNAVAILABLE;

- (instancetype)init NS_UNAVAILABLE;

@end

to this Delphi class

  ASAuthorizationControllerClass = interface(NSObjectClass)
    ('{1FFA7BB5-DAA7-4FD5-A5B7-FE466A83A23F}')
  end;
  ASAuthorizationController = interface(NSObject)
    ('{214873D8-CCF0-42B8-A381-04BBCFB75269}')
    //function authorizationRequests : NSArray; cdecl;
    procedure setDelegate(delegate: ASAuthorizationControllerDelegate); cdecl;
    function delegate : ASAuthorizationControllerDelegate; cdecl;
    procedure setPresentationContextProvider(presentationContextProvider: ASAuthorizationControllerPresentationContextProviding); cdecl;
    function presentationContextProvider: ASAuthorizationControllerPresentationContextProviding; cdecl;
    function initWithAuthorizationRequests(authorizationRequests: NSArray): ASAuthorizationController; cdecl;
    procedure performRequests; cdecl;
  end;
  TASAuthorizationController = class(TOCGenericImport)  end;
  PASAuthorizationController = Pointer;

but the problem is when i call TASAuthorizationController.create I get this error:

– (ASAuthorizationController init): Unrecognized selector sent to instance 0x283c23380

How can I create an instance of under delphi ASAuthorizationController? I usually have to call initWithAuthorizationRequests but it's not marked with a (+), but with a (-), which means that it's not a static / class function, so I need an instance of ASAuthorizationController to call it