[Vtigercrm-developers] send mail with attachment

clement chazarra chazarra.clement at gmail.com
Tue Jul 29 08:31:49 PDT 2008


Hi Guys,

Once again I 'd like to look inside the code concerning mails in vTiger.

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.
After debugging I finally get to the class.smtp.php file, in the Data()
function, the 'while' condition from line 331 is parsing the message to be
sent on the smtp server.

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's what take so
long, depending on the file size.
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.
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.

Tell me what you think ;)
Clem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20080729/f52d44a9/attachment-0003.html 


More information about the vtigercrm-developers mailing list