Error upgrade OJS to 3.4

I solved this problem. Added the following lines to the email section:

default = sendmail
sendmail_path = “/usr/sbin/sendmail -bs”