ItzNotABug / ghosler

Send newsletter emails to your Ghost CMS subscribers & members, using your own email credentials!
Apache License 2.0
40 stars 5 forks source link

Tracking Link #52

Closed ItzNotABug closed 3 weeks ago

ItzNotABug commented 1 month ago

I'm hosting ghosler and mailserver in intranet, so newsletters are being sent using the server's internal IP instead. (the tracking url ends up with http://192.168.100.20 instead of the public url. Shall I edit the config file manually using external IP or you suggest something else?

Originally posted by @emanborg in https://github.com/ItzNotABug/ghosler/issues/8#issuecomment-2131404085

ItzNotABug commented 1 month ago

Hey @emanborg 👋, The tracking link's host is the url from config file: ghosler.url.

So if your ghosler instance is reachable on the IP Address and the Public Domain too and while there isn't a setting for this in the dashboard, you can change this by editing the config file directly and restarting the instance.


Refer the source.

ItzNotABug commented 1 month ago

Hey @emanborg 👋,

The tracking link's host is the url from config file: ghosler.url.

So if your ghosler instance is reachable on the IP Address and the Public Domain too and while there isn't a setting for this in the dashboard, you can change this by editing the config file directly and restarting the instance.


Refer the source.

Alternatively, visit the ghosler instance via the public url, go to settings & simply save the settings. That should update the url.

Source - https://github.com/ItzNotABug/ghosler/blob/244575e44287af50af273bd5362cdc9cd7ac93fb/routes/settings.js#L42

ItzNotABug commented 1 month ago

Hey @emanborg, Is your issue resolved?