1

SimpleForms はメールを送信していません。テストモードをオフにし、config.yml ファイルのメール設定を変更しませんでした:

# by default, mail is sent using PHP's built-in mail function. In general, it's advised to use SMTP for sending mail
# instead. Uncomment the following lines to use an SMTP server with authentication.
# Please check http://silex.sensiolabs.org/doc/providers/swiftmailer.html for a full range of options
#mailoptions:
#  host: localhost
#  port: 25
#  username: username
#  password: password
#  encryption: null
#  auth_mode: null

そのため、bolt は PHP のメール機能を使用する必要があります。同じサーバーに複数の Drupal インストールがあり、メールを正しく送信しています。エラーログには、メールに関連するものは何も含まれていません。

私は何を間違っていますか?そして、ボルトからのログはありますか?

編集: 私の simpleforms.bolt.yml:

[...]

recaptcha_enabled: false
recaptcha_public_key: ''
recaptcha_private_key: ''
recaptcha_error_message: "The CAPTCHA wasn't entered correctly. Please try again."
recaptcha_theme: clean

csrf: true

from_email: [...]
from_name: Anonym

testmode : false
testmode_recipient: [...]

contact:
  recipient_email: "[...]"
  recipient_name: "[...]"
  mail_subject: "[...]"
  button_text: "Senden"
  fields:
    name:
      type: text
      required: true
      placeholder: Ihr Name
      label: Name
    email:
      type: email
      label: E-Mail-Adresse
      required: true
      placeholder: Ihre E-Mail-Adresse
    subject:
      type: text
      required: true
      placeholder: Betreff Ihrer Nachricht
      label: Betreff
    message:
      type: textarea
      required: true
      placeholder: Ihre Nachricht
      label: Nachricht
4

2 に答える 2