kurulumu-net
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Groups
    • Users
    • Tags
    • Solved
    • Yasal
      • Kullanım Şartları
      • Gizlilik İlkesi
      • İletişim

    Ghost blog SMTP mail ayarları nasıl yapılır?

    Ghost
    ghost
    1
    1
    141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • admin
      admin Admin last edited by

      Ghost Blog yazılında SMTP mail ayarlarının nasıl yapılacağı konusuna değineceğim.

      İlk olarak sitenin kurulu olduğu dizinde bulunan config.production.json adlı dosyayı metin editörü ile açalım.

      Bu dosyaya aşağıdaki bilgileri ekleyeceğiz.

      "mail": {  
        "transport": "SMTP",  
        "options": {  
          "service": "Mailgun",  
          "host": "smtp.eu.mailgun.org",  
          "port": "587",  
          "auth": {  
            "user": "[email protected]",  
            "pass": "eposta şifresini buraya yaz"  
          }  
        }  
      }
      

      service kısmına kendis posta sunucunuzu, user kısmına kendis mail adınızı ve pass kısmınada e-posta şifrenizi girin.
      Dosyanın son görünüm aşağıdakine benzer olacak. Parantez ve virgüllere dikkat edin.

      {
        "url": "https://domaini.com",
        "server": {
          "port": 2368,
          "host": "127.0.0.1"
        },
        "database": {
          "client": "mysql",
          "connection": {
            "host": "localhost",
            "user": "ghost-111",
            "password": "xsxsxsxsx",
            "database": "ghost_prod"
          }
        },
        "mail": {
          "transport": "SMTP",
          "options": {
            "service": "Mailgun",
            "host": "smtp.eu.mailgun.org",
            "auth": {
              "user": "[email protected]",
              "pass": "şifre"
            }
          }
        },
        "logging": {
          "transports": [
            "file",
            "stdout"
          ]
        },
        "process": "systemd",
        "paths": {
          "contentPath": "/var/www/ghost/content"
        }
      }
      

      Dosyayı düzenledikten sonra aynı dizine geri yükleyin. Değişikliklerin aktif olması için Ghost’u yeniden başlatın.

      # Ghost'u yeniden başlatmak için;
      ghost restart
      
      1 Reply Last reply Reply Quote 0

      • First post
        Last post

      Benzer Konular

      • admin

        Ghost Blog Disqus yorum ekleme
        Ghost • ghost • • admin

        1
        0
        Votes
        1
        Posts
        138
        Views

        No one has replied

      • admin

        Ghost Blog nasıl kurulur? Ubuntu sunucuda Ghost blog kurulumu
        Ghost • ghost • • admin

        1
        1
        Votes
        1
        Posts
        200
        Views

        No one has replied

      • admin

        Ghost blog yedek alma ve yedekten geri yükleme
        Ghost • ghost • • admin

        1
        0
        Votes
        1
        Posts
        154
        Views

        No one has replied