Download the PHP package rapidrx/intelmail without Composer
On this page you can find all versions of the php package rapidrx/intelmail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rapidrx/intelmail
More information about rapidrx/intelmail
Files in rapidrx/intelmail
Download rapidrx/intelmail
More information about rapidrx/intelmail
Files in rapidrx/intelmail
Vendor rapidrx
Package intelmail
Short Description A Laravel package to test email services using the Mailtrap API. This package allows developers to send test emails through Mailtrap's sandbox environment, ensuring email functionality works correctly in a development setting.
License MIT
Package intelmail
Short Description A Laravel package to test email services using the Mailtrap API. This package allows developers to send test emails through Mailtrap's sandbox environment, ensuring email functionality works correctly in a development setting.
License MIT
Please rate this library. Is it a good library?
Informations about the package intelmail
Testing Email Service Using Mailtrap API
This package allows you to test email functionalities in a development environment using the Mailtrap API. Follow the steps below to configure the package, set up your environment, and send test emails.
INSTALLATION
CONFIGURATION
-
Signup for Mailtrap
- Go to Mailtrap.
- Sign up using Google Authentication or create an account manually.
-
Configure Mailtrap SMTP Settings
- After logging in, navigate to the
Inbox
section. - Go to
Integration
and thenCredentials
. - Copy the SMTP credentials provided and add them to your
.env
file:
- After logging in, navigate to the
- Configure Mailtrap API Settings
- In your Mailtrap account, navigate to
Inbox
->Integration
->API
. - Copy the necessary API details and add them to your
.env
file:
- In your Mailtrap account, navigate to
How to Send a Test Email
To send a test email using the Laravel package, use the following code snippet. This example demonstrates sending an email with an HTML body and an attachment:
SENDING EMAIL
SENDING EMAIL WITH ATTACHMENT
IntelMail::post([
'subject' => 'Test Email',
'body_type' => 'html',
'html_view' => 'welcome',
'attachment' => [
[
'content' => base64_encode(file_get_contents(storage_path('app/public/file.txt'))),
'filename' => 'file.txt',
'type' => mime_content_type(storage_path('app/public/file.txt')),
]
]
]);
All versions of intelmail with dependencies
PHP Build Version
Package Version
Requires
intelrx/rapidkit Version
*
The package rapidrx/intelmail contains the following files
Loading the files please wait ....