jacobwb / hashover-next

This branch will be HashOver 2.0
GNU Affero General Public License v3.0
420 stars 87 forks source link

Is it possible to use only one email instead of a full SMTP server? #336

Open curiosport opened 1 year ago

curiosport commented 1 year ago

I see that in the configuration it asks me for the data of a SMTP server where there must be a domain for these two emails.

protected $notificationEmail = 'example@example.com';
protected $noreplyEmail = 'noreply@example.com';

However for my particular case I only need $notificationEmail since the users will receive their notifications by other means and also the activity is not very big.

What I want is to fill only this data instead of installing a complete SMTP server:

hostMail = "smtp.domain.sample"
portMail = 587
authType  = "cram_md5"
emailAddress = "example@example.com"
password = "mypassword"

What are the files that need to be modified to make these changes? or is there already a way to do it?