SMTP ERROR: DATA END command failed: 550 5.7.1 Client does not have permissions to send as this sender - smtp

I have strange error, when I am trying send email using
https://github.com/Garethp/php-ews
with just my msexchange username, password, it send email properly
but if I try to send message using phpmailer with my default from email I get following error
SMTP ERROR: DATA END command failed: 550 5.7.1 Client does not have permissions to send as this sender
What can be the possible reasons and How can I fix it

Related

How can I send stanza from ejabberd server to user?

I am new on ejabberd. I followed this link Ejabberd return message to sender hook / message receipts to send a message from server to user which is 6 years old. My ejabberd server crash with the given error:
**exception error: no function clause matching
xmpp:set_from_to({xmlelement,"message",[{"type","serverreceipt"},{"from","67456efc-be57-4cbd-a176-527de2dce19d"},{"to","e5d6d83c-ea77-4d10-aaac-4e0e38899ac2"},{"id","mty321"}],[{xmlelement,"body",[],[{xmlcdata,[]}]}]},{jid,<<"67456efc-be57-4cbd-a176-527de2dce19d">>,<<"faiqkhan-virtualbox">>,<<>>,<<"67456efc-be57-4cbd-a176-527de2dce19d">>,<<"faiqkhan-virtualbox">>,<<>>},{jid,<<"e5d6d83c-ea77-4d10-aaac-4e0e38899ac2">>,<<"faiqkhan-virtualbox">>,<<"4008526814005163385914">>,<<"e5d6d83c-ea77-4d10-aaac-4e0e38899ac2">>,<<"faiqkhan-virtualbox">>,<<"4008526814005163385914">>})
(src/xmpp.erl, line 263)
in function ejabberd_router:route/3
(src/ejabberd_router.erl, line 111)
in call from
mod_stanza_ack:on_user_send_packet/1
(/home/faiqkhan/ejabberd-20.07/mod_stanza_ack.erl, line 30)**
Is this method depreciated? or I am doing someting wrong? I am trying to do is when user A send a message to user B, when the server get the message server send an acknowledgement to user A that the server get the message.

error in ssis send mail task for smtp connection

[Send Mail Task] Error: An error occurred with the following error
message: "Failure sending mail. System.Net.WebException: Unable to
connect to the remote server System.Net.Sockets.SocketException: No
connection could be made because the target machine actively refused
it 127.0.0.1:25".
This is the error I am getting. I have configured my DB mail as it is shown in the link https://www.youtube.com/watch?v=DYMBNOE9EQs . What is the solution??

How to interpret this particular SMTP response by AOL?

Connect to AOL's mail server:
telnet mailin-01.mx.aol.com 25
You receive:
554- (RTR:DU) https://postmaster.aol.com/error-codes#554rtrdu
554 Connecting IP: 82.xxx.xxx.xxx
Connection to host lost.
Interestingly, the line breaks after the first two lines are <CR><CR><LF>. This is not visible in the telnet output. I determined this using a C# program that prints the bytes.
This appears to be invalid SMTP behavior. Is it? How to deal with that when writing an SMTP client?
(I understand the reason for the error code. The question is not about that but about the apparent protocol violation.)

Column count doesn't match value count at row 1SMTP Error: Could not connect to SMTP host

I have this error message and dont know what is the problem, help me please!
SMTP Error: Could not connect to SMTP host.
Ooops (saveEmpleado): Column count doesn't match value count at row 1
SMTP Error: Could not connect to SMTP host.
Warning: Cannot modify header information - headers already sent by (output started at
/home/ajuares/public_html/php/functions/PHPMailer/class.phpmailer.php:586) in
/home/ajuares/public_html/php/action/inscribir.php on line 344

Port error: Could not establish connection. Receiving end does not exist.

Port error: Could not establish connection. Receiving end does not exist.
I want to send message to content_script.js from background.js but it show the message:
Port error: Could not establish connection. Receiving end does not exist.
but the the contect_script.js can send message to background.js
could anybody help me to solve this. Thanks.