I'm using the domain module with a certain amount of domains.
I want to use some webforms that are the same for all domains, but a notification should be send to the sites email adress for the active domain.
Forgive me if I'm wrong but I dont think it's possible for the moment...

Thanks

Wim

Comments

quicksketch’s picture

Category: Feature request » Support request
Priority: Major » Normal

Hi @fivecord, I think you're right that this kind of functionality is not supported. Domain module has it's uses, but it's a very elaborate hack. Webform isn't going to provide built-in support for switching e-mails based on the currently active domain, but perhaps you could manage something if you upgrade to the Webform 4.x version and use tokens for the e-mails that get sent. In 4.x, you can use tokens for e-mail addresses. If you set a different administrator account per domain, then you could reference that e-mail address via a token (I think), making it so the e-mail would be sent based on the site-wide e-mail address. This hinges on a token being provided for site-wide e-mail, but if that exists I think this should be possible.

I'm moving this to a support request since code-wise, we're not likely to implement anything directly into the Webform module.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity.