Exemplo n.º 1
0
def deleteEmail(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.deleteEmail()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 2
0
def manageSMTP(request, domain):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request, domain)
        return emm.manageSMTP()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 3
0
def submitEmailList(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.submitEmailList()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 4
0
def emailVerificationJob(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.emailVerificationJob()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 5
0
def templatePreview(request, templateName):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request, templateName)
        return emm.templatePreview()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 6
0
def enableDisableMarketing(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.enableDisableMarketing()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 7
0
def saveEmailTemplate(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.saveEmailTemplate()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 8
0
def composeEmailMessage(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.composeEmailMessage()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 9
0
def smtpHostOperations(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.smtpHostOperations()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 10
0
def fetchSMTPHosts(request):
    try:
        userID = request.session['userID']
        emm = EmailMarketingManager(request)
        return emm.fetchSMTPHosts()
    except KeyError:
        return redirect(loadLoginPage)
Exemplo n.º 11
0
def remove(request, listName, emailAddress):
    try:
        emm = EmailMarketingManager(request)
        return emm.remove(listName, emailAddress)
    except KeyError:
        return redirect(loadLoginPage)