Why does replying to emails give me an error message?

replying to emails gives an error message

message reads;
Cannot send mail
A copy has been sent to your outbox. The recipient was rejected by the server because it does not allow relaying.

Has worked ok in past! what do I need to do?
Thanks
Carl
Re: replying to emails gives an error message

That looks like the error one might get when you try and send an email from one email account via the server of another account on your device... Make sure all your accounts are set to send via the same account's servers as you're receiving mail from.

Original thread: https://forums.imore.com/threads/why-does-replying-to-emails-give-me-an-error-message.315492/