Configuration de votre Formulaire de Contact

Adventury Network a développé des formulaires de contact utilisant Astro et StarFunnel qui prennent en charge plusieurs sujets. Chaque sujet peut avoir son propre email de destination ou canal Slack. Pour ouvrir la boîte de dialogue de contact, créez simplement un lien avec href="#contact"

You can configure your contact form in the CMS under Settings > Contact, Social & Forms

MailGun

For mailgun you have to add these values in your .env. the MAILGUN_API_URL can be https://api.mailgun.net/v3 or https://api.eu.mailgun.net depending on your region.

MAILGUN_API_KEY=XXXXXXXXX
MAILGUN_DOMAIN=XXXXXXXXX
MAILGUN_API_URL=https://api.eu.mailgun.net

Postmark

Add your server token to the .env.

POSTMARK_SERVER_TOKEN=XXXXXXXXX

Slack

For slack to work you first need to create an app, then add the slack token + channel id to your .env

SLACK_CHANNEL_ID=XXXXXXXXX
SLACK_TOKEN=XXXXXXXXX

Create your slack app:

  1. Go to https://api.slack.com/apps
  2. Click “Create an App” Button.
  3. Select “from scratch”
  4. Set name and workspace
  5. Go to OAuth & Permissions menu.
  6. Add Scopes ( chat:write, chat:write:customize, chat:write:public)
  7. In the left settings menu select “install app” and connect it to your workspace
  8. Now you have your Bot User OAuth Token this is your SLACK_TOKEN