Email messages were sent out programmatically.
The problem would be occurred when the users did not protect the virus on their computers, the malware and virus may came into the computers. Firstly, the user should contact with their email hosting services provider for changing the email password of the account. Secondly, the user should install Malwarebytes or Anti-malware program to scan for malwares which might be running on the user's PC.