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

Sending transactional e-mail to users who are not subscribers yet #1108

Closed
jarzi25 opened this issue Dec 18, 2022 · 6 comments
Closed

Sending transactional e-mail to users who are not subscribers yet #1108

jarzi25 opened this issue Dec 18, 2022 · 6 comments
Labels
enhancement New feature or request stale

Comments

@jarzi25
Copy link

jarzi25 commented Dec 18, 2022

Hi @knadh,

I was trying out the transactional e-mail API using the curl command documented here and it worked perfectly.

But when I tried to send an transactional e-mail to a user who is not a subscriber in listmonk then I started getting an error {"message":"Subscriber not found"}. I tried this to check if I can send a "Welcome" transactional e-mail to a new user who is not added as a subscriber yet.

Is it possible to send an email to a user who is not a subscriber?

Thank you.

@knadh
Copy link
Owner

knadh commented Dec 19, 2022

Hi @jarzi25. You've to register the user as a subscriber first. There's a pending PR that sends messages to unregistered users, but this requires some thinking before letting unregistered e-mails be processed. For instance:

  • Templates that use subscriber attributes will be blank for unregistered e-mails and will behave differently compared to registered users.

@knadh knadh added the enhancement New feature or request label Dec 25, 2022
@NicoHood
Copy link
Contributor

Is there an automated way to send a welcome message? I mean that is a very common usecase, I would appreciate that without any external API or service.

@knadh
Copy link
Owner

knadh commented Jan 16, 2023

Not currently. We can consider a welcome mail feature for the next version.

@NicoHood
Copy link
Contributor

Please! :)

@les-les
Copy link

les-les commented Apr 17, 2023

I am not a big fan of a welcome message
Especially when using double opt in

I m handling this a little different
Because the drop out caused of an automatic send welcome message if not timed well
(means that the welcome message is sent as soon as the confirmation of subscription succeeds) increases above average

Each new subscriber to the list is manually added to a
Welcome campaign / list
After this was send the user is removed from this welcome list...
Only thing we have to handle when the user unsubscribe from the welcome list

This works pretty well (beside this unsubscribe thing of a list the user is no longer part of, when the user eg clicks on the unsubscribe link months later)

Br les

@Facecube
Copy link

Facecube commented Feb 4, 2024

Hi @jarzi25. You've to register the user as a subscriber first. There's a pending PR that sends messages to unregistered users, but this requires some thinking before letting unregistered e-mails be processed. For instance:

  • Templates that use subscriber attributes will be blank for unregistered e-mails and will behave differently compared to registered users.

Hello @knadh,

any update on that PR?
This would be a feature I need.

Would also be happy to contribute if you could point me to that PR.
The different behaviour for unsubscribed users would not be a problem for me and I also think it is reasonable for the specific properties to be unavailable.

Thanks in advance.

Facecube pushed a commit to Facecube/listmonk that referenced this issue Feb 24, 2024
(cherry picked from commit e0473db7861b63d328be506542c340f2e95b6a03)
ugd added a commit to ugd/listmonk that referenced this issue Mar 20, 2024
@github-actions github-actions bot added the stale label Jul 17, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

5 participants