Developer forum

Forum » CMS - Standard features » Email user after admin has activated account

Email user after admin has activated account

Caro De Weze
Reply

Hi,

I have set up the following:

  1. Customer receives email when he registers.
  2. Administrator then receives an email because a customer has registered and he must activate/approve the customer.
  3. Administrator activates user.
  4. Now I want an email to be sent to the customer that he can use his account, but this is where something goes wrong. I have attached a screenshot of my setup. Can you tell me what I'm doing wrong?

Thank you in advance.

Caro

Screenshot_2023-10-09_at_15.49.53.png

Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hard to tell.

Do you have any entries in the event viewer that indicates an error?

Do you have errors related to the mail?

What happens if you send out a template and not a page - maybe it does work with that?

On the SMTP settings page you can enable test mode and save emails to disk - to see if the email is generated and looks correct.

https://doc.dynamicweb.com/documentation-9/platform/advanced-settings/web-and-http#4448

 
Caro De Weze
Reply

Hi Nicolai,

Changing to a template doesn't solve it.

This is the error that I get: Send using Pickup Directory Service failed. Trying SMTP protocol. Exception: System.Net.Mail.SmtpException: Cannot get IIS pickup directory. at System.Net.Mail.IisPickupDirectory.GetPickupDirectory() at System.Net.Mail.SmtpClient.Send(MailMessage message) at Dynamicweb.Mailing.EmailHandler.TryToSendEmail(MailMessage mailMessage, Boolean isFirstError, Boolean wasSent, List`1 hostList, ILogger systemSMTPLogger, SmtpSender sender)

I want this to work without configuring SMTP.

Caro

 

You must be logged in to post in the forum