Attach attachment does not work

dekeizer
Posts: 31
Joined: 01 Oct 2018, 01:00
Name: Gerjan Kroeze
Location: Netherlands, Daarle

Attach attachment does not work

Post by dekeizer »

Hello sergey,

I have a problem with email sending rules. By item updated email send to assigned email attach attachment does not work and by send to email it works.

Sincerely Gerjan
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Attach attachment does not work

Post by support »

File from archive replace to includes\classes\fieldstypes\
Let me know if it works ok now.
Attachments
fieldtype_attachments.zip
(15.52 KiB) Downloaded 157 times
dekeizer
Posts: 31
Joined: 01 Oct 2018, 01:00
Name: Gerjan Kroeze
Location: Netherlands, Daarle

Re: Attach attachment does not work

Post by dekeizer »

Hello Sergey,

Its still not working.

Sincerely Gerjan
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Attach attachment does not work

Post by support »

Ok, then give me more information. Show me screenshots with configuration and show me email that you get in result.
dekeizer
Posts: 31
Joined: 01 Oct 2018, 01:00
Name: Gerjan Kroeze
Location: Netherlands, Daarle

Re: Attach attachment does not work

Post by dekeizer »

Hello sergey,

i found the issue, you must put the [id] of the field from the uploaded file into the message text and then it works ;)

sincerely Gerjan
brave
Sponsor
Sponsor
Posts: 180
Joined: 17 Jul 2016, 12:34
Name: Patrick
Location: Germany

Re: Attach attachment does not work

Post by brave »

Hello Sergey,

unfortunately I have the same problem. I specified id in the text, but the files are not sent in the appendix. See the screenshot. I have the problem (if it is the one, maybe I get it wrong) in versions 2.6 and 2.7 there is no attachment in the email. I exchanged the file from the post.

am I doing something wrong??

Best Regards
Patrick

i still get this error that can be the cause

12 Jun 2020 14:11:01 Notice
Undefined index: HTTP_HOST
/dev/includes/languages/german.php:1548

define('TEXT_2STEP_VERIFICATION_EMAIL_SUBJECT','Anmeldung bei ' . $_SERVER['HTTP_HOST'] . ' ' . i18n_date('d F Y h:i',time()));


12 Jun 2020 14:11:01 Notice
Undefined index: HTTP_HOST
/dev/includes/functions/urls.php:28

$host = $_SERVER['HTTP_HOST'];
Attachments
12-06-_2020_13-01-33.png
12-06-_2020_13-02-51.png
12-06-_2020_12-59-18.png
12-06-_2020_12-59-04.png
12-06-_2020_12-58-40.png
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Attach attachment does not work

Post by support »

I can't reproduce your issue.
brave
Sponsor
Sponsor
Posts: 180
Joined: 17 Jul 2016, 12:34
Name: Patrick
Location: Germany

Re: Attach attachment does not work

Post by brave »

ok sergey, do I understand that correctly, that I picture that I upload via attachments, would actually be attached to the email? e.g. microsoft outlook
User avatar
support
Site Admin
Posts: 6186
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Attach attachment does not work

Post by support »

that I picture that I upload via attachments, would actually be attached to the email?
Yes, this is correct. I just tested and it works ok for me. Try to test with other email, for example gmail.
brave
Sponsor
Sponsor
Posts: 180
Joined: 17 Jul 2016, 12:34
Name: Patrick
Location: Germany

Re: Attach attachment does not work

Post by brave »

Thanks Sergey, that was a good tip after googlemail the mail never arrives.
Oh I will now test everything and try to illuminate the problem.
Will contact me if I have more information.
Post Reply