def METHOD_NAME(self):
    """
    Try to submit 'qsub -m j' and test possible errors
    """
    J = Job(TEST_USER, attrs={ATTR_m: 'j'})
    error_msg = "mail option 'j' can not be used without array job"
    try:
        self.server.submit(J)
    except PbsSubmitError as e:
        self.assertTrue(error_msg in e.msg[0])
    J = Job(TEST_USER, attrs={ATTR_m: 'j', ATTR_J: '1-2'})
    error_msg = "illegal -m value"
    try:
        self.server.submit(J)
    except PbsSubmitError as e:
        self.assertTrue(error_msg in e.msg[0])