Auto Reports `address` Parameter Failure Point -- Emailing Reports
I run an auto report and everything is generated and saved to a network share properly. However, when I try to setup email of the reports, I get a successful test email sent and received by PDQ Inventory and my email account, but when I try to run an auto report with emails turned on, I get this error over and over again:
"The parameter 'address' cannot be an empty string.
Parameter name: address"
I have no idea what this parameter `address` is, or where to find it, and there is no information on it anywhere. What is this?
-
If possible, I'd like to see the stacktrace for that error.
- Open the Auto Report.
- Go to the Reports tab.
- Click on the blue ? in the Last Run Status column.
- Click the "Submit this issue to PDQ Support" link.
- Copy and paste everything from the bottom box here, and use the "Code block" formatting option. You may wish to redact some details like hostnames.
-
The information requested is below. I did not have to clear any information out. Email field listed below is blank for some reason....I'm going to guess PDQ clears that field by default in these reports to keep identifying information out of the report that's sent. I definitely do have an email in the TO field.
AppDomain : PDQInventoryConsole.exe
CLR Version : 4.0.30319.42000
Comments :
Current AppDomain : PDQInventoryConsole.exe
Database : C:\ProgramData\Admin Arsenal\PDQ Inventory\Database.db
Date : 2022-01-18T14:58:17.4899569Z
Email :
Entry : C:\Program Files (x86)\Admin Arsenal\PDQ Inventory\PDQInventoryConsole.exe
Error : The parameter 'address' cannot be an empty string.
: Parameter name: address
Error Type : System.ArgumentException
HResult : 0x80070057 Code:87 Facility:7 Warning
License Mode : Enterprise Mode
Manufacturer : HP (HP ProBook 440 G8 Notebook PC)
Memory : 31.7 GB (20.1 GB free)
ParamName : address
PID : 17660
Process : PDQInventoryConsole
Product : PDQ Inventory
SentryEnabled : True
Service Mode : Client
Subject : PDQ Inventory Diagnose Report
Version : 19.3.42.0
Windows : Microsoft Windows 10 Enterprise (10.0.19043)
The parameter 'address' cannot be an empty string.
Parameter name: address
System.ArgumentException
ParamName: address
HResult: 0x80070057 Code:87 Facility:7 Warning
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at AdminArsenal.Net.MailSender.SendHtml(String sender, IEnumerable`1 toRecipients, IEnumerable`1 ccRecipients, IEnumerable`1 bccRecipients, String subject, String message, IEnumerable`1 attachments)
at AdminArsenal.PDQInventory.Reports.AutoReportService.Mail(AutoReportDefinition definition, List`1 exportedFiles)
at AdminArsenal.PDQInventory.Reports.AutoReportService.RunAutoReportDefinition(AutoReportDefinition autoReportDefinition)
Please sign in to leave a comment.
Comments
5 comments