mail-tracker | Package for Laravel to inject tracking code into outgoing emails
kandi X-RAY | mail-tracker Summary
kandi X-RAY | mail-tracker Summary
Package for Laravel to inject tracking code into outgoing emails.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create trackers
- Install the package s routes .
- Get smtp info
- Get sent emails
- Get a transparent image
- Handle a request
- Migrate sent email .
- Register the sent emails .
- Handle transient messages .
- Get the connection name .
mail-tracker Key Features
mail-tracker Examples and Code Snippets
Community Discussions
Trending Discussions on mail-tracker
QUESTION
I need to send e-mails with a delay of a couple hours. Everything I create in the construct function of my mailable works: image links, pulling stuff from the database, ...
The mails look good but the only weird thing is that all the outgoing links appear to be broken.
In a mail without a delay the link looks like this: https://example.url.com/
In a mail with delay it looks like this: http://localhost/email/n?l=https%3A%2F%2Fexample.url.com&h=Kv1wny2TTU8RhdgPUXQEDpX8xHdKavz1
I have no idea why these links transform to this... I tested it without a delay and everything works like it should.
I use the delay like this:
...ANSWER
Answered 2020-Sep-11 at 08:29The APP_URL in my .env file was 'http://localhost' so mail-tracker used that to transform the tracked links.
Once I changed it to the correct url, it worked fine
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mail-tracker
There are no breaking changes from 3.x to 4.x with the exception that 4.x is for Laravel 7+ only.
There was a breaking change with the update to version 3.0, specifically regarding the events that are fired. If you are listening for the PermanentBouncedMessageEvent to catch all undeliverables, there are now two separate events: PermanentBouncedMessageEvent will be fired only on permanent bounces, and a new event ComplaintMessageEvent will be fired on complaints. There is also an new event EmailDeliveredEvent that is fired for each successful delivery event. For information about setting up the SES/SNS environment to receive notifications regarding these events, see the documentation below.
First, upgrade to version 2.2 by running:. If you are updating from an earlier version, you will need to update the config file and run the new migrations. For best results, make a backup copy of config/mail-tracker.php and the views in resources/views/vendor/emailTrackingViews (if they exists) to restore any values you have customized, then delete that file and run. Also note that the migration for the sent_emails_url_clicked table changed with version 2.1.13. The change is that the URL column is now a TEXT field to allow for longer URLs. If you have an old system you may want to manually change that column; there is no migration included to perform that update.
Publish the config file and migration. Note: If you would like to use a different connection to store your models, you should update the mail-tracker.php config entry connection before running the migrations.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page