# Cant send verify mail

**URL:** <https://community.bitwarden.com/t/cant-send-verify-mail/55044>\
**Category:** Password Manager\
**Tags:** app:browser, app:bwdc, server:selfhost\
**Created:** [June 2, 2023, 3:42pm UTC](https://community.bitwarden.com/t/cant-send-verify-mail/55044 "2023-06-02T15:42:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![damst](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/damst/32/23103_2.png) [@damst](https://community.bitwarden.com/u/damst)\
**Post date:** [June 2, 2023, 3:42pm UTC](https://community.bitwarden.com/t/cant-send-verify-mail/55044/1 "2023-06-02T15:42:27Z")

</div>

Hey everyone,

I have the problem that the verification mail is not sent.

I’ve tried all possible settings in global.override.env, even the Gmail configuration didn’t work.

I found the following error under …/logs/api/Api, which occurs as soon as I want to send the mail:

> 2023-06-02 15:36:03.133 +00:00 [Error] Invalid addr-spec token at offset 0  
> MimeKit.ParseException: Invalid addr-spec token at offset 0  
> at MimeKit.InternetAddress.TryParseAddrspec(Byte text, Int32& index, Int32 endIndex, Byte sentinels, RfcComplianceMode compliance, Boolean throwOnError, String& addrspec, Int32& at)  
> at MimeKit.MailboxAddress.set\_Address(String value)  
> at MimeKit.MailboxAddress…ctor(Encoding encoding, String name, String address)  
> at Bit.Core.Services.MailKitSmtpMailDeliveryService.SendEmailAsync(MailMessage message) in /home/runner/work/server/server/src/Core/Services/Implementations/MailKitSmtpMailDeliveryService.cs:line 39  
> at Bit.Core.Services.HandlebarsMailService.SendVerifyEmailEmailAsync(String email, Guid userId, String token) in /home/runner/work/server/server/src/Core/Services/Implementations/HandlebarsMailService.cs:line 52  
> at Bit.Core.Services.UserService.SendEmailVerificationAsync(User user) in /home/runner/work/server/server/src/Core/Services/Implementations/UserService.cs:line 513  
> at Bit.Api.Controllers.AccountsController.PostVerifyEmail() in /home/runner/work/server/server/src/Api/Controllers/AccountsController.cs:line 193  
> at lambda\_method46(Closure , Object )  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object arguments)  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g\_\_Logged|12\_1(ControllerActionInvoker invoker)  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g\_\_Awaited|10\_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)  
> at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()  
> — End of stack trace from previous location —

Does anyone have any ideas what else I can look for?

Best regards

---

<div class="post-metadata">

**Author:** ![accolon](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/accolon/32/23018_2.png) [@accolon](https://community.bitwarden.com/u/accolon)\
**Post date:** [June 2, 2023, 5:01pm UTC](https://community.bitwarden.com/t/cant-send-verify-mail/55044/2 "2023-06-02T17:01:49Z")

</div>

> [@damst](#):
>
> Invalid addr-spec token at offset 0

This usually means that the email address is not syntactically valid, in this case the first symbol seems to be the problem.

Are you e.g. using quotation marks or angle brackets around the email address in your configuration? Try to remove them.

---

<div class="post-metadata">

**Author:** ![Nail1684](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/nail1684/32/47626_2.png) [@Nail1684](https://community.bitwarden.com/u/Nail1684)\
**Post date:** [January 23, 2026, 1:49am UTC](https://community.bitwarden.com/t/cant-send-verify-mail/55044/3 "2026-01-23T01:49:52Z")

</div>

Closed on January 23, 2026, 1:49am UTC


