def SetVersion(Version):
    """
	Activate mail sending according to version.
	"""
    if Version.upper().startswith('RD') or Version.lower().startswith('test'):
        SendMail = True
    else:
        SendMail = False
    return
