"use client" import { ExternalLink } from "lucide-react" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" const PROTON_BRIDGE_DOWNLOAD = "https://proton.me/mail/bridge" export function ProtonBridgeWizard({ email, imapPort, smtpPort, bridgePassword, onBridgePasswordChange, onImapPortChange, onSmtpPortChange, onContinue, onBack, }: { email: string imapPort: string smtpPort: string bridgePassword: string onBridgePasswordChange: (v: string) => void onImapPortChange: (v: string) => void onSmtpPortChange: (v: string) => void onContinue: () => void onBack: () => void }) { return (

Proton Mail via Bridge

  1. Installez{" "} Proton Mail Bridge {" "} sur cet ordinateur.
  2. Connectez-vous avec {email}.
  3. Copiez le mot de passe Bridge généré pour IMAP/SMTP.
  4. Vérifiez que Bridge écoute sur localhost (ports par défaut ci-dessous).

Bridge doit rester ouvert en arrière-plan. Ultimail se connecte à{" "} 127.0.0.1.

) } function Field({ label, value, onChange, type = "text", placeholder, }: { label: string value: string onChange: (v: string) => void type?: string placeholder?: string }) { return (
onChange(e.target.value)} />
) }