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

Unable to send Test email through vvveb admin #182

Open
siddhantprateek opened this issue Aug 20, 2024 · 4 comments
Open

Unable to send Test email through vvveb admin #182

siddhantprateek opened this issue Aug 20, 2024 · 4 comments

Comments

@siddhantprateek
Copy link

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.

$sender = $config['sender'] ?? $site['description']['title'];

@givanz
Copy link
Owner

givanz commented Aug 20, 2024

Can you please check if a site title is set for the selected site language in admin > settings > site > description > site title?

https://demo.vvveb.com/admin/index.php?module=settings/site&site_id=1

@siddhantprateek
Copy link
Author

image

im not sure why its showing blank to me

@givanz
Copy link
Owner

givanz commented Aug 21, 2024

Do you have any active languages?

You must have at least one language enabled and set as default in settings > localization languages https://demo.vvveb.com/admin/index.php?module=localization/languages

@siddhantprateek
Copy link
Author

Thanks @givanz, that worked 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants