Alan O’Mahony of Commons Road, Cork, is also charged with sending a photograph of a named woman to another person