Custom Contact Form For Mail

Hello, I am trying to setup my custom contact-us form page for my ghost app i am using Ghost Version 2.25.9,I have setup config.json file and mailgun domain and send a test which show me success message now what next should i have to do to make my contact-us form works? is there any api provided by ghost so that i can use my mailgun configuration that i set in config.json file?

Hey there @Zia_Arsalan! You can save yourself a lot of setup time, and form headaches, by using one of our suggested Form Integrations:

Many of them merely require the addition of HTML into your Ghost theme! :zap:

1 Like

yeah that’s working thanks, but i want to send mail via mailgun and i am totaly confuse how use nodejs in my ghost app so that i can configure my rest api for mail.

What are you intending to do with Ghost and Mailgun? :slightly_smiling_face:

i have a contact form, on submitting that form i want to use mailgun account that i configured for my ghost app in config.json, to send mail but i don’t know how to do that.

after config.json set up I send a test mail from lab section in ghost admin and i have notice that they are using a test api for send test mail, is there any way develop own api in ghost-app, hope you got my point. :slightly_smiling_face:

Oh right I see. I don’t suppose you’ve seen this tutorial? Looks like exactly what you need: