Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use From: header data in template tags #1148

Open
justingit opened this issue Apr 17, 2023 · 3 comments
Open

Use From: header data in template tags #1148

justingit opened this issue Apr 17, 2023 · 3 comments

Comments

@justingit
Copy link
Owner

Perhaps there should a way to use the header phrase value in the message itself (we're thinking discussion lists) via template tags.

@cbgdev
Copy link

cbgdev commented Apr 18, 2023

That would be fantastic!

Alternatively, for closed discussion lists, the sender will be on the subscriber list. Hence, it would be great if the template could access their profile field info.

@justingit
Copy link
Owner Author

Alternatively, for closed discussion lists, the sender will be on the subscriber list. Hence, it would be great if the template could access their profile field info.

I want to say that should be possible now. The default From Header Phrase already uses,

<!-- tmpl_var subscriber.email -->

@cbgdev
Copy link

cbgdev commented Apr 18, 2023

But in the email template, subscriber.email will parse as the recipient's information.

The objective is to include information about the sender in the email body of the message that goes to the discussion list.

For a private discussion list, I would see the workflow as follows:

  1. Dadamail receives incoming message
  2. Sender must be a subscriber to the list, hence Dadamail can fetch profile information from the database
  3. Dadamail parses template tags for sender and recipient (both coming from the subscriber database)
  4. Done.

@justingit justingit changed the title Use From: header data in tempalte tags Use From: header data in template tags Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants