Base solution for your next web application

Activities of "jchester26"

Hi,

Emails are not sending and I would like some help trying to reolve as I am spending a lot of time with no success. I have reviewed the support forum and tried several fixes but still no success.

  • I have tested all of my SMTP settings sing SMTPProbe and that succesfully sends emails from the same machine (host, port, user, password, authentication)
  • I have commented out '//Configuration.ReplaceService<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient);' in Module Preinitialization so that emails are sent in debug mode
  • I have added 'Configuration.Modules.AbpMailKit().SecureSocketOption = SecureSocketOptions.Auto;' line to Preinitiialization in XYZCoreModule.cs
  • I have not added any code to XYZSmtpEmailSenderConfiguration class in XYZSmtpEmailSenderConfiguration.cs

The log file records the following;

`ERROR 2018-12-05 09:39:43,418 [56   ] Mvc.ExceptionHandling.AbpExceptionFilter - An error occurred while attempting to establish an SSL or TLS connection.

The SSL certificate presented by the server is not trusted by the system for one or more of the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. The certificate presented by the server is expired or invalid.

See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#InvalidSslCertificate for possible solutions.
MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.

The SSL certificate presented by the server is not trusted by the system for one or more of the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. The certificate presented by the server is expired or invalid.

See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#InvalidSslCertificate for possible solutions. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.`

When I investigated that problem, the recommendation was to add the Configuration.Modules.AbpMailKit().SecureSocketOption = SecureSocketOptions.Auto; setting in the module preinitialisation, which I have done.

I am using SendGrid SMTP server, but I am not sure that is the issue as I can succesfully send an Email using STMPProbe app from the same machine. the STMP setting for that are smtp.sendgrid.net, port 587, username apikey and pwd [not included here]

Can anyone offer any more advice?

Thanks!

Hi, i've been using version 6.1 with no issues, however just tried using the new version 6.2.1 and login page displays OK, but after login the app/main/dashboard page (or any other page) is blank. The below is the page source.


<!doctype html>
<html lang="en" dir="ltr">
<head prefix="og: http://ogp.me/ns#">
    <meta charset="utf-8">
    <title>XYZ</title>
    <base href="/">

    <meta property="og:title" content="XYZ" />
    <meta property="og:image" content="" />
    <meta property="og:description" content="XYZ" />
    <meta property="og:url" content="">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="XYZ">
    <meta name="description" content="XYZ">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
    <app-root></app-root>
<script type="text/javascript" src="runtime.js"></script><script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="styles.js"></script><script type="text/javascript" src="scripts.js"></script><script type="text/javascript" src="vendor.js"></script><script type="text/javascript" src="main.js"></script></body>
</html>

I cannot work out why! Please help.

Thanks,

Showing 1 to 2 of 2 entries