AnsweredAssumed Answered

Problem in Email Sending with attachment

Question asked by Jagjit Singh on Jun 27, 2016

Hi

   When i am trying to send email with attachment it gives the below error. We are using SugarCrm Community Edition 6.5 hosted on Local Server . Using Gmail.

 

Warning: mime_content_type() [function.mime-content-type]: File or path not found

'cache/modules/Emails/1/6bbf0a1c-c58b-a96e-6759-576ecd00f639' in

C:\xampp\htdocs\SugarCrm\modules\Emails\Email.php on line 335

 

 

Warning: mime_content_type() [function.mime-content-type]: File or path not found

'cache/modules/Emails/1/6bbf0a1c-c58b-a96e-6759-576ecd00f639' in

C:\xampp\htdocs\SugarCrm\modules\Emails\Email.php on line 335

{"composeLayoutId":"composeLayout0"}

 

Lines at 335 are

function sendEmailTest($mailserver_url, $port, $ssltls, $smtp_auth_req, $smtp_username, $smtppassword, $fromaddress, $toaddress, $mail_sendtype = 'smtp', $fromname = '') {

global $current_user,$app_strings;

Thanks

Outcomes