Email via amazon ses

Oi pessoal, como vão
Estou batendo cabeça para autenticar o envio de emails do OJS3 via serviço do Amazon SES. Tentei mudar as configurações conforme envio do gmail, mas não deu certo. As configurações padrões de envio de email funcionam para o gmail, mas quando mudo para os parâmetros do Amazon SES não dá certo.

Alguém poderia me ajudar a implementar?

A configuração do config.inc.php

[email]

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = “email-smtp.us-east-1.amazonaws.com”
smtp_port = 465

; Enable SMTP authentication
smtp_auth = tls
smtp_username = “(removed)”
smtp_password = “(removed)”

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
default_envelope_sender = (removed)
;above verified email on amazon ses

; Enable attachments in the various “Send Email” pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On

; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
;time_between_emails = 3600

; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
;max_recipients = 4

; If enabled, email addresses must be validated before login is possible.
;require_validation = Off

; Maximum number of days before an unvalidated account expires and is deleted
;validation_timeout = 14

Documentação de email para o OJS
https://docs.pkp.sfu.ca/admin-guide/en/email

Documentação do php mailler para o Amazon SES

Roniel, faço uso do Amazon SES para envio de e-mails desde 2019. Uso a versão 3.1.2.4
As únicas informações que não vi no seu código foram:

; Force the default envelope sender (if present)
; This is useful if setting up a site-wide no-reply address
; The reply-to field will be set with the reply-to or from address.
force_default_envelope_sender = On

; Force a DMARC compliant from header (RFC5322.From)
; If any of your users have email addresses in domains not under your control
; you may need to set this to be compliant with DMARC policies published by
; those 3rd party domains.
; Setting this will move the users address into the reply-to field and the
; from field wil be rewritten with the default_envelope_sender.
; To use this you must set force_default_enveloper_sender = On and
; default_envelope_sender must be set to a valid address in a domain you own.
force_dmarc_compliant_from = On

; The display name to use with a DMARC compliant from header
; By default the DMARC compliant from will have an empty name but this can
; be changed by adding a text here.
; You can use ‘%n’ to insert the users name from the original from header
; and ‘%s’ to insert the localized sitename.
dmarc_compliant_from_displayname = ‘%n via %s’

E, claro, precisam ser informados “smtp_username”, “smtp_password” e o endereço de e-mail rementente em “default_envelope_sender”.

Espero que essas informações lhe ajudem.

Oi Junior, obrigado por responder meu tópico.
Sua orientação foi fundamental e fez com que eu conseguisse.

Vou colocar a configuração que deu certo aqui

[email]

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
smtp_server = “email-smtp.us-east-1.amazonaws.com
smtp_port = 587

; Enable SMTP authentication
smtp_auth = tls
smtp_username = “usuario”
smtp_password = “senha”

; Allow envelope sender to be specified
; (may not be possible with some server configurations)
allow_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
default_envelope_sender = contato@revistacafecomsociologia.com

; Enable attachments in the various “Send Email” pages.
; (Disabling here will not disable attachments on features that
; require them, e.g. attachment-based reviews)
enable_attachments = On

; Amount of time required between attempts to send non-editorial emails
; in seconds. This can be used to help prevent email relaying via OJS.
;time_between_emails = 3600

; Maximum number of recipients that can be included in a single email
; (either as To:, Cc:, or Bcc: addresses) for a non-priveleged user
;max_recipients = 4

; If enabled, email addresses must be validated before login is possible.
;require_validation = Off

; Maximum number of days before an unvalidated account expires and is deleted
;validation_timeout = 14

; Force the default envelope sender (if present)
; This is useful if setting up a site-wide no-reply address
; The reply-to field will be set with the reply-to or from address.
force_default_envelope_sender = On

; Default envelope sender to use if none is specified elsewhere
;default_envelope_sender = contato@revistacafecosociologia.com

; Force a DMARC compliant from header (RFC5322.From)
; If any of your users have email addresses in domains not under your control
; you may need to set this to be compliant with DMARC policies published by
; those 3rd party domains.
; Setting this will move the users address into the reply-to field and the
; from field wil be rewritten with the default_envelope_sender.
; To use this you must set force_default_enveloper_sender = On and
; default_envelope_sender must be set to a valid address in a domain you own.
force_dmarc_compliant_from = On

; The display name to use with a DMARC compliant from header
; By default the DMARC compliant from will have an empty name but this can
; be changed by adding a text here.
; You can use ‘%n’ to insert the users name from the original from header
; and ‘%s’ to insert the localized sitename.
dmarc_compliant_from_displayname = ‘%n via %s’

2 curtidas