Vvveb icon indicating copy to clipboard operation
Vvveb copied to clipboard

Unable to send Test email through vvveb admin

Open siddhantprateek opened this issue 6 months ago • 4 comments

I've encountered an issue when attempting to send a test email through vvveb. Despite configuring the mail.php file as below:

<?php

return [
    'driver' => 'smtp', //smtp
    'smtp'   => [
        'host'     => '$SMTP_HOST',
        'user'     => '$SMTP_LOGIN',
        'password' => '$SMTP_PASSWORD',
        'port'     => '$SMTP_PORT', 
        'timeout'  => '5',
    ],
    'from'           => 'Admin',
    'from_address'   => '$SMTP_LOGIN',
    'sendmail'       => '/usr/sbin/sendmail -bs',
];

The system throws an error:

title is undefined at /system/function.php

Expected Behavior:

The email should be sent successfully without any errors.

Actual Behavior:

The system returns an error stating "title is undefined at /system/function.php".

It seems the issue might be related to a missing test email description.

https://github.com/givanz/Vvveb/blob/576a3124f90290dcb2968585dd48245466884fc3/system/functions.php#L1343

siddhantprateek avatar Aug 20 '24 09:08 siddhantprateek