Mail not sending

For the last year or so, get random popups when mail refuses to send a message saying 'Unable to verify message signature' then goes on to say can't verify authenticity of S/MIME certificate ... After one or two more tries, the message goes through.

Now, starting four days ago and after I upgraded to Ventura (13.1) I can't even send a message. I click send using my email jstxxx@gmail.com and get a popup that says "Cannot connect to the account 'Gmail'. Enter the password for user Nxx Sxx". The mail is from my account but the password the popup asks for is for my wife's account nstxxx@gmail.com. I've typed in her password multiple times and even gone to mail.google.com and changed her mail password and then changed it on the keychain popup but no help.

Any ideas???

MacBook Pro Apple Silicon

Posted on Dec 26, 2022 11:41 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 26, 2022 12:14 PM

That is two very different problems.


S/MIME is encrypted email which uses a certificate which is checked against a Certificate Authority CA server. If it cannot reach the server or the certificate is expired, you will see such errors.


As to Gmail, if you enabled MFA / 2FA Multi-factor or 2-Factor Authentication) then you will need to go to the Google accounts and Security web page and create an App Password for Apple Mail to use. This password will be different from your primary password. Go to myaccount.google.com and sign-in and click on Security and if 2-Step Verification is turned on. You may need to click App Passwords and create a password for your email access.


Check your Mail accounts screen and verify the Google account is your account and not your wife's account. But I suspect the suggested login info was coming from your Keychain which saves passwords and it was attempting to provide the wife's account.

Similar questions

6 replies
Question marked as Top-ranking reply

Dec 26, 2022 12:14 PM in response to Jeff Stephens

That is two very different problems.


S/MIME is encrypted email which uses a certificate which is checked against a Certificate Authority CA server. If it cannot reach the server or the certificate is expired, you will see such errors.


As to Gmail, if you enabled MFA / 2FA Multi-factor or 2-Factor Authentication) then you will need to go to the Google accounts and Security web page and create an App Password for Apple Mail to use. This password will be different from your primary password. Go to myaccount.google.com and sign-in and click on Security and if 2-Step Verification is turned on. You may need to click App Passwords and create a password for your email access.


Check your Mail accounts screen and verify the Google account is your account and not your wife's account. But I suspect the suggested login info was coming from your Keychain which saves passwords and it was attempting to provide the wife's account.

Dec 27, 2022 8:07 PM in response to Jeff Stephens

Since it's related to sending email. It is possible the person you are sending to has an expired S/MIME certificate that you previously saved. They can be used to validate an email as legit or to fully encrypt the email. For S/MIME signed email you accept their public certificate which needs to be checked against a Certificate Authority CA. That is what the error is failing on. So it might be the person to whom you are corresponding or it might be your own public/private key certificate.


In order to exchange encrypted email with another individual using S/MIME you both need to have private key certificates and you share your public key certificates with each other. The certificates are used to automatically decrypt the email. If someone gained a copy of the email without the required certificates they cannot read the email, it's scrambled.


For the second problem. Go to Mail -> Settings -> Accounts and disable the Gmail account by unchecking the box on Enable this Account. Then add the Gmail account and see that fixes the problem. If it does you can remove the disabled account.



Dec 27, 2022 10:26 PM in response to Jeff Stephens

google/gmail may need you to login manually via a web-browser,

to inform you some changes they have done,

or to ask/verify your account by communicating with you directly,

so pls do so ...

make sure your gmail account is in good working order/condition.

( provide them info on what they ask from you )



then proceed to next stage, in apple Mail (or in Thunderbird).

find the IMAP & SMTP server setup detail settings, make sure the "OAuth2" is selected & mentioned there, next to "Authentication Method".


click/tap on gmail Inbox.

if apple-Mail opens-up a small web-page from GMail, & ask you to approve the apple-Mail email-client for OAuth2 based authentication login, then select "Allow".


Dec 27, 2022 3:33 PM in response to Jeff Stephens

to me, it appears, one of your your SMIME cert's validity has expired,

it could be the SMIME CA Cert, or it could be the SMIME client cert that was assigned for you.

Either you or family members, or one of your office admin has setup it for you,

so that Encrypted comm/emails in between you & office person's email, remains encrypted with SMIME.


Even if you setup SMIME, users who do not have matching SMIME, you can still comunciate with them via non-SMIME (non-encrypted email).

And, if you use email-client Thunderbird (TB, )then you can still use OpenPGP based encryption.


In apple Mail, when you setup GMail for 1st time, then it opened up a new web-window with a google GMail's specific URL webpage, at that moment GMail user needed to approve that OAuth2 based authentication (and press "Allow" button/key),

once user approves the apple Mail (or other email-client), from then on, OAuth2 based authentication will work fine in email-client, (specific app password is not necessary, but can be a plus).



Kindly use Thunderbird in Ventura.

Ventura's apple-Mail all bugs are not fixed yet.

Keep on monitoring/check if apple-Mail's bugs are fixed or not, but in the mean time use Thunderbird.


export SMIME CA cert & SMIME cleint cert from apple Mail, & import into Thunderbird, for the gmail account.


even w/o SMIME cert in TB, you can send emails to your office mates & to your wife, but BE AWARE, THOSE WILL NOT BE ENCRYPTED ANYMORE, with old SMIME cert anymore.

And if you reply to your old office/business person's email, who used the SMIME encryption protection,

then you have to be careful,

their old email's content if visible then SMIME decryption working, so you can reply with SMIME encryption.

But if old email's content is not visible then SIMIME is not working then do not include their email's old content back as a non-encrypted email, as thats not what they or you want, no one wants to create loss of privacy or loss of confidentiality.



gmail rolled out OAuth2 usage, some users were allowed to use older methods, for longer time, but at some point of time, they will not support older login anymore, i gues, that could be one reason, when your email was not working anymore.


Dec 29, 2022 1:19 PM in response to emde-ash

To both James and emde-ash

Think I may have solved the security issue. I dug around and found that a block that said to use my name for my certificate that was not checked. I checked it (my certificate is good til 2026) and it appeared to work.

Ref the mix-match with my wife's google mail account. I've been with gmail and Apple mail for years - but never used TFA. I downloaded and fired up Thunderbird and it appears to be working OK. Following the advice above and periodically checking back to see if Apple Mail is debugged - not yet.

Thanks for all your help.

Dec 27, 2022 11:33 AM in response to James Brickley

Appreciate your response. Still having problems, however.

The S/MIME problem is new (within the year) but I haven't changed anything in my mail habits - no encryption that I'm aware of. It doesn't give me that error on all messages - just some; but all from my main email account: jstxxx@gmail.com. Is there a way to fix it?

On the other problem, I don't use 2FA or multi-factor authentication. Once again, I haven't changed anything. The passwords for our accounts are separate and I've tried both my wife's and even mine even though it asks for her password. The answer continues with 'Unable to verify account name or password'. I've tried using some of the other email addresses in my account with gmail and they all come back with the same error message. Haven't been able to send a message in about 6 days.

I do appreciate your help.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail not sending

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.