Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Let the mail transport be chosen instead of hardcoded

Abierto
#116 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
go
Área
backend

Línea de trabajo

Start in buildMailSender in cmd/alphone/mail.go (around line 33), which calls smtp.New unconditionally, then read how wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go collect from plugins. The sdk's MailSenderConsumer is the existing plugin-facing type, and the issue says no reverse seam exists yet. Done would mean transport selection comes from configuration and a provider seam exists, but the issue does not define the seam's shape or name a test, so agree on the design with maintainers first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Only one mail transport can ever run, because the composition root names it directly. A second transport is unreachable wherever its code lives.

Current state: buildMailSender in cmd/alphone/mail.go:33 calls smtp.New unconditionally, and the only choice is whether an SMTP host is set. Settings are read once from the environment at boot. The sdk declares MailSenderConsumer, which hands a sender down to plugins, and no seam pointing the other way, although wireFieldProviders and wireCredentialProviders in cmd/alphone/run.go already collect from plugins that way.

Proposal: pick the transport from configuration first, and add the missing provider seam. A selector in the settings screen follows once settings move to a table.

Trigger: before a second transport ships.

Lenguaje dominante
Go
Estrellas
287
Forks
64
Merge medio
12 h 44 min
PR fusionados (30 d)
66

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de gopherium/AlphOne

Todos los issues de gopherium/AlphOne

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.