getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Identifier "base_url" is not defined. #41

Closed haviana closed 7 years ago

haviana commented 8 years ago

Hi there,

I have problems when setting up the client SMTP. The following is the configuration:

enabled: true
from: test@gmail.com
to: test@gmail.com
mailer:
  engine: mail
  smtp:
    server: localhost
    port: 25
    encryption: none
    user: 'test'
    password: 'test'
  sendmail:
    bin: '/usr/sbin/sendmail'
content_type: text/html
debug: true 

The problem rise up when i execute the command: bin/plugin email test-email -t test@gmail.com -e cefis.dtdns.net/Boavida

Returning me the below message:

[InvalidArgumentException]
  Identifier "base_url" is not defined.

Could you please help me? Thanks in advance.

flaviocopes commented 8 years ago

I don't get that error. Make sure Grav and all the plugins are up to date. Also try disabling 3rd part plugins (I tested the core ones)

flaviocopes commented 7 years ago

Closing for inactivity