Inhalte aufrufen

Profilbild

Error sending an email: String parameter 'subject' cannot be null or all whitespace. (Parameter 'subject')

Emailing customer fails

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
5 Antworten zu diesem Thema

#1 ClearGear321

ClearGear321

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 03 February 2024 - 17:26

When attempting to email a customer, from the customer list, the email fails to send.

 

I'm definitely entering a subject in the email form, but it doesn't seem to be capturing it.
 

 

Error message:

 

Error sending an email: String parameter 'subject' cannot be null or all whitespace. (Parameter 'subject')

 

System.ArgumentException: String parameter 'subject' cannot be null or all whitespace. (Parameter 'subject')
at Smartstore.Guard.NotEmpty(String arg, String argName) in D:\Git\Smartstore.Full\Smartstore\src\Smartstore\Common\Guard.cs:line 59
at Smartstore.Net.Mail.MailMessage..ctor(String to, String subject, String body, String from) in D:\Git\Smartstore.Full\Smartstore\src\Smartstore\Net\Mail\MailMessage.cs:line 32
at Smartstore.Core.Messaging.QueuedEmailService.ConvertMail(QueuedEmail qe) in D:\Git\Smartstore.Full\Smartstore\src\Smartstore.Core\Platform\Messaging\Services\QueuedEmailService.cs:line 176
at Smartstore.Core.Messaging.QueuedEmailService.ProcessMailBatchAsync(IEnumerable`1 batch, ISmtpClient client, Boolean saveToDisk, CancellationToken cancelToken) in D:\Git\Smartstore.Full\Smartstore\src\Smartstore.Core\Platform\Messaging\Services\QueuedEmailService.cs:line 99
 



#2 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 05 February 2024 - 08:15

Hello,
 
which store version is being used and are the latest hotfixes installed?
 
Kind regards
 
Wolfgang

Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#3 ClearGear321

ClearGear321

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 05 February 2024 - 14:34

Hi Wolfgang,

 

I'm using version 5.1.0.0

Smartstore version

5.1.0.0



#4 Wolfgang Schmerge

Wolfgang Schmerge

    SmartStore AG

  • Administrators
  • 2453 Beiträge

Geschrieben: 05 February 2024 - 15:12

Hi,

 

are the latest hotfixes installed?

https://community.sm...for-smartstore/

 

Best regards

 

Wolfgang


Shopbetreiber benötigen Ihre Hilfe! Bewerten Sie jetzt Smartstore auf Capterra.

Als Dankeschön erhalten Sie 20 Euro für Ihren nächsten Kauf im Marketplace.

Smartstore bewerten


 

Bleibt gesund!

 

Viele zusätzliche Smartstore Plugins gibt es im MARKETPLACE:
http://community.sma...dex.php?/files/

 

Hier geht es zu den Smartstore Videos:
Smartstore.NET Youtube-Channel
 

Die deutsche Smartstore Online-Dokumentation gibt es hier:
https://smartstore.a...iew?mode=global

In dem folgenden BLOG findet man interessante Tipps & Tricks zum Thema "Smartstore":

http://community.sma...t-tipps-tricks/

 


#5 ClearGear321

ClearGear321

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 05 February 2024 - 15:31

Yes sir, I confirmed that I have the lastest hotfixes installed and I re-applied them and restarted my application pool just to be sure. I'm still seeing the same error.

 

This is a test from a few minutes ago.

 

 
2/5/2024 6:30:01 AM


#6 ClearGear321

ClearGear321

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 15 February 2024 - 16:01

The latest hotfix pack fixes this null subject/email sending issue. Thank you very much!