Skip to main content

Email Alerts are not received...

In one of application, Email alerts are sent using SQL sp_send_dbmail stored procedure. Email alerts were working properly, but suddenly noticed email alerts are not received.

To troubleshoot the issue, first I checked the msdb.dbo.sysmail_event_log table using the below query.

SELECT log_id, event_type, log_date, description, process_id, mailitem_id, account_id, last_mod_date, last_mod_user
FROM
msdb.dbo.sysmail_event_log 
ORDER BY
log_date DESC

If there is any error, you should see records with the event_type value as error.
In my case there are records with event_type value as error, and the description value for those records is same as below

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2018-02-01T10:41:27). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: Authentication required).  )

As per the error descript…

Increase Virtual Hard Disk Size in Hyper-V

In some situations we may need to increase the virtual hard disk size.
We can increase the size of the disk by using Edit Disk under Actions in the Hyper-V Manager.

Then you will get a window as shown below.



Select Expand from it and click Next.




Then add the New Size as shown below and click Next.




Then you will get a Summary as shown below and click Finish to complete it.




But you cannot use that increased space straight away. When you start the Virtual Machine, previous disk size will be avilable. To add the increased capacity, go to the Disk Management window by right clicking Computer and by selecting Manage. Then right click on the partition and select Extend Volume as shown below.




Then you will get the Welcome screen as shown below and click Next.




Then you will get the Extend Volume Wizard. Give the amount to be increased as shown below and click Next.





After that you will get the final screen as shown below.



Click Finish to add that disk space.

Comments

  1. I had a problem with my hard disc few time ago, how ever i could solve the problem and now my computer is really nice. after that i could see costa rica homes for sale and i loved too much because i always have been interested in visit this beautiful country.

    ReplyDelete

Post a Comment