fix open link and sendmail