I did see that. But after looking further it does seem ng build --prod is changing some of the files hashes. There are so many files I missed some of the changes and now I can see it did do some changes. Is there any other way that anyone knows of to force a cache clear on the browser?
Our app uses the Asp.NET Core & Angular version 6.6.1 .NET Core 2.2 version. I recently made a few small changes to the login screen and then did a production build of the Angular app to deploy the changes. I have received some clients are unable to login now unless they clear their cache in the browser. It seems to be mainly Safari on either iPhones or iPad users more than anything but I am guessing it must be a similar issue on other browsers.
Is there anyway I can combat this issue besides telling clients to clear their cache? I thought "ng build --prod" created unique hashes so it would handle cache busting. But it doesn't seem to be happening.
Any suggestions would be greatly appreciated.
I did end up doing something like that. It wasn't hard once I actually tried it.
I have built an ecommerce module for our Asp.net zero app. I am trying to create a new email template that will be sent out after someone places an order that will list all the products they ordered in the email. Is there a good way to send a list of products into the template?
@ismcagdas I did change the DefaultPassPhrase yes. I figured that if I was the only one that knew that default passphrase it would be more secure. Why would it mess things up?
@alper I know that is what it says. But as soon as I renter the password into our sites settings all is good even without doing anything at all to G Suite. That would make me believe it has something to do with something is messing up the password and its sending the wrong password so it can't authenticate. If it had something to do with the IP address I would think it would completely fail until I went into G Suite admin settings and fix it.
@ismcagdas here is the entire error.
ERROR 2018-09-20 06:05:00,027 [29 ] Mvc.ExceptionHandling.AbpExceptionFilter - 5.7.1 Invalid credentials for relay . The IP address you've
5.7.1 registered in your G Suite SMTP Relay service doesn't match domain of
5.7.1 the account this email is being sent from. If you are trying to relay
5.7.1 mail from a domain that isn't registered under your G Suite account
5.7.1 or has empty envelope-from, you must configure your mail server
5.7.1 either to use SMTP AUTH to identify the sending domain or to present
5.7.1 one of your domain names in the HELO or EHLO command. For more
5.7.1 information, please visit
5.7.1 https://support.google.com/a/answer/6140680#invalidcred v69-v6sm3914401qkg.1 - gsmtp
MailKit.Net.Smtp.SmtpCommandException: 5.7.1 Invalid credentials for relay . The IP address you've
5.7.1 registered in your G Suite SMTP Relay service doesn't match domain of
5.7.1 the account this email is being sent from. If you are trying to relay
5.7.1 mail from a domain that isn't registered under your G Suite account
5.7.1 or has empty envelope-from, you must configure your mail server
5.7.1 either to use SMTP AUTH to identify the sending domain or to present
5.7.1 one of your domain names in the HELO or EHLO command. For more
5.7.1 information, please visit
5.7.1 https://support.google.com/a/answer/6140680#invalidcred v69-v6sm3914401qkg.1 - gsmtp
at MailKit.Net.Smtp.SmtpClient.OnSenderNotAccepted(MimeMessage message, MailboxAddress mailbox, SmtpResponse response)
at MailKit.Net.Smtp.SmtpClient.FlushCommandQueueAsync(MimeMessage message, MailboxAddress sender, IList`1 recipients, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, Boolean doAsync, CancellationToken cancellationToken, ITransferProgress progress)
at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, Boolean doAsync, CancellationToken cancellationToken, ITransferProgress progress)
at Abp.MailKit.MailKitEmailSender.SendEmailAsync(MailMessage mail)
at Abp.Net.Mail.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize)
at Authorization.Users.UserEmailer.ReplaceBodyAndSend(String emailAddress, String subject, StringBuilder emailTemplate, StringBuilder mailMessage) in Authorization.Users.UserEmailer.SendEmailActivationLinkAsync(User user, String link, String plainPassword) in Core\Authorization\Users\UserEmailer.cs:line 125
at Abp.Threading.InternalAsyncHelper.AwaitTaskWithPostActionAndFinally(Task actualReturnValue, Func`1 postAction, Action`1 finalAction)
at Authorization.Accounts.AccountAppService.SendEmailActivationLink(SendEmailActivationLinkInput input) in Application\Authorization\Accounts\AccountAppService.cs:line 116
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
Something that has happened to me now a few times is the credentials for my SMTP settings seems to become wrong. I am the only person that has access to the Settings and I know I haven't changed them each time this has happened to us. I have 2 factor auth enabled and it fails when it tries to send the code to the user. I then see the below error. As soon as I renter the password in the SMTP settings all is good and it is fixed. But does anyone have any ideas why this would keep happening? It is acting like it doesn't decrypt the password before sending it or something like that.
MailKit.Net.Smtp.SmtpCommandException: 5.7.1 Invalid credentials for relay . The IP address you've 5.7.1 registered in your G Suite SMTP Relay service doesn't match domain of 5.7.1 the account this email is being sent from. If you are trying to relay 5.7.1 mail from a domain that isn't registered under your G Suite account 5.7.1 or has empty envelope-from, you must configure your mail server 5.7.1 either to use SMTP AUTH to identify the sending domain or to present 5.7.1 one of your domain names in the HELO or EHLO command. For more 5.7.1 information, please visit
Will this abp.io be replacing Asp.net Boilerplate framework?
Sorry no I am only using the email 2 factor code. Nothing else.