No it wouldn’t make any difference - in my form I am also using an attachment field.
Are you using eform 1.4.4.5? If you’re using a later version then it may help to see the code block where I inserted the hack in eform.inc.php:
if(!$noemail) {
if($sendirect) $to = $fields['email'];
$mail = new PHPMailer();
$mail->IsMail();
$mail->CharSet = $modx->config['modx_charset'];
$mail->IsHTML($isHtml);
$mail->From = $from;
$mail->FromName = $fromname;
$mail->Subject = $subject;
$mail->Body = $report;
AddAddressToMailer($mail,"replyto",$replyto);
AddAddressToMailer($mail,"to",$to);
AddAddressToMailer($mail,"cc",$cc);
AddAddressToMailer($mail,"bcc",$bcc);
// attach csv
if ($fields['csv'] !='') {
$mail->AddStringAttachment($fields['csv'], 'CSV_'.$fields['registrationid'].'.csv');
}
AttachFilesToMailer($mail,$attachments);
if(!$mail->send()) return 'Main mail: ' . $_lang['ef_mail_error'] . $mail->ErrorInfo;
}
Otherwise all I can suggest is that you try to debug the process from start to finish - ie check that your event is being triggered, that your csv file is being generated correctly, that it gets pased to a field called ’csv’ and so on.