35 lines
991 B
Python
35 lines
991 B
Python
from ApiLayers.AllConfigs import HostConfig
|
|
|
|
|
|
class EmailConfig:
|
|
EMAIL_HOST: str = HostConfig.EMAIL_HOST
|
|
EMAIL_USERNAME: str = "karatay@mehmetkaratay.com.tr"
|
|
EMAIL_PASSWORD: str = "system"
|
|
EMAIL_PORT: int = 587
|
|
EMAIL_SEND: bool = False
|
|
|
|
@classmethod
|
|
def as_dict(cls):
|
|
return dict(
|
|
host=EmailConfig.EMAIL_HOST,
|
|
port=EmailConfig.EMAIL_PORT,
|
|
username=EmailConfig.EMAIL_USERNAME,
|
|
password=EmailConfig.EMAIL_PASSWORD,
|
|
)
|
|
|
|
|
|
class Config:
|
|
SERVICE_TIMING: int = 900 # 15 min
|
|
MAILBOX: str = "bilgilendirme@ileti.isbank.com.tr"
|
|
|
|
MAIN_MAIL: str = "karatay.berkay@gmail.com"
|
|
INFO_MAIL = "mehmet.karatay@hotmail.com"
|
|
|
|
EMAIL_HOST: str = "10.10.2.34"
|
|
# EMAIL_USERNAME: str = "karatay@mehmetkaratay.com.tr"
|
|
EMAIL_USERNAME: str = "isbank@mehmetkaratay.com.tr"
|
|
EMAIL_PORT: int = 993
|
|
EMAIL_PASSWORD: str = "system"
|
|
EMAIL_SLEEP: int = 60
|
|
AUTHORIZE_IBAN: str = "4245-0093333"
|