Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

"Your proposal has been submitted" email results in invalid URL #595

Open
chrisfosterelli opened this issue Aug 2, 2019 · 0 comments
Open

Comments

@chrisfosterelli
Copy link

In this template here: https://github.com/BCDevExchange/devex/blob/256d610d67a206fcdf0f44ac4f4b0d26a64de2d7/config/email-templates/proposals/proposal-submitted-email.html

The line <h4><a href="{{opportunity.path}}">{{opportunity.name}}</a></h4> does not reference {{domain}}, which results in an invalid path in an email (i.e., the browser tries to open "http:///opportunities/cwu/opp-cloud-migration-and-deployment") which is not a valid URL.

Similar to this template, I think you want the following:

{{ domain }}/{{ opportunity.path }} (or just {{ domain }}{{ opportunity.path }} since it looks like opportunity.path includes the domain, but the double slash is technically fine too)

@chrisfosterelli chrisfosterelli changed the title "Your proposal has been submitted" email results in 404 "Your proposal has been submitted" email results in invalid URL Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant