Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Add an attachment w...
 
Notifications
Clear all

Add an attachment when sending email

3 Posts
2 Users
0 Reactions
3,485 Views
(@djamat)
Posts: 12
Active Member
Topic starter
 
[#1337]

Hi all,

I would like to know if someone has already develop something to send email with attachment (add browse button).

I checked in sendmail.php but i didnt find my happiness.

Thanks for your comments


 
Posted : 22 Aug 2013 12H40
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

There is some code sending emails with attachments : it is for automatic import, attaching import log file.

The limitations are
1) the email function must be the anonymous one (using smtp serveur without user/pwd), not the ssl one.
2) the attached files are pure text files.

Code is in /model/Cron.php, line 402 and after.
Mail function is standard one, in sendMailAnonymous() in /tool/projector.php


 
Posted : 22 Aug 2013 18H08
(@djamat)
Posts: 12
Active Member
Topic starter
 

ok thanks for your answer

i success to do that. i removed all limitations (only in my work), and it seems to work in pre-prod.

Finaly, My problem was to use ajax


 
Posted : 22 Aug 2013 18H24
Share:

Scroll to Top