<div dir="ltr">Hi Guys,<br><br>Once again I &#39;d like to look inside the code concerning mails in vTiger.<br><br>At the moment I am testing to send emails with attachment, and actually it takes about 20 sec, which is a little bit excessive in my point of view.<br>
After debugging I finally get to the class.smtp.php file, in the Data() function, the &#39;while&#39; condition from line 331 is parsing the message to be sent on the smtp server.<br><br>With no attachment the process is really fast, but once you attach a file to the mail, the file is also parsed, line by line and that&#39;s what take so long, depending on the file size. <br>
I am not a smtp specialist, so I would like to ask the community if this seems to be the only way, or most fast way to send an attachment to an smtp server.<br>I would love to talk about it with the vTiger Developer working on the mail module, because I think that it is an issue which needs to be fixed. <br>
<br>Tell me what you think ;)<br>Clem<br></div>