mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
add mail sender in setting
This commit is contained in:
31
resources/scripts/admin/stub/mail-sender.js
Normal file
31
resources/scripts/admin/stub/mail-sender.js
Normal file
@ -0,0 +1,31 @@
|
||||
export default {
|
||||
basicConfig: {
|
||||
name: '',
|
||||
from_name: '',
|
||||
from_address: '',
|
||||
cc: '',
|
||||
bcc: '',
|
||||
is_default: false,
|
||||
driver: 'smtp', // 'smtp', 'mail', 'sendmail', 'mailgun', 'ses'
|
||||
settings: '',
|
||||
},
|
||||
smtpConfig: {
|
||||
host: '',
|
||||
port: null,
|
||||
username: '',
|
||||
password: '',
|
||||
encryption: 'tls', // 'tls', 'ssl', 'starttls'
|
||||
},
|
||||
mailgunConfig: {
|
||||
domain: '',
|
||||
secret: '',
|
||||
endpoint: '',
|
||||
},
|
||||
sesConfig: {
|
||||
host: '',
|
||||
port: null,
|
||||
encryption: 'tls', // 'tls', 'ssl', 'starttls'
|
||||
ses_key: '',
|
||||
ses_secret: '',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user