Hi William,

Refer -
https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html#the-config-py-file
to create a config_local file and add the mentioned config settings.
Refer - https://kinsta.com/blog/gmail-smtp-server/ to use your gmail for
SMTP.

Alternatively, if you have access to your pgAdmin installation then you can
simply remove the pgadmin4.db file. It should be in /var/lib/pgadmin.
Please note, this will also remove all the server configuration added to
pgAdmin. Once removed, run sudo /usr/pgadmin4/bin/setup-web.sh to set
username password again.

On Thu, Nov 24, 2022 at 10:01 PM William Torrez Corea <willitc9...@gmail.com>
wrote:

>
> On Thu, Nov 24, 2022 at 2:06 AM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi William,
>>
>> Have you configured the SMTP configuration in pgAdmin? You need to set it
>> to receive emails.
>>
>> ########################################################################### 
>> Mail server 
>> settings##########################################################################
>> # These settings are used when running in web server mode for confirming# 
>> and resetting passwords etc.# See: http://pythonhosted.org/Flask-Mail/ for 
>> more infoMAIL_SERVER = 'localhost'MAIL_PORT = 25MAIL_USE_SSL = 
>> FalseMAIL_USE_TLS = FalseMAIL_USERNAME = ''MAIL_PASSWORD = ''MAIL_DEBUG = 
>> False
>>
>>
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> <http://edbpostgres.com>
>> "Don't Complain about Heat, Plant a TREE"
>>
>
> How to make this configuration?
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄⠀⠀⠀⠀
>
>
>

-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Reply via email to