Notify not working with attachments
Posted: 17 March 2008 04:02 AM   [ Ignore ]
Newbie
Rank
Total Posts:  4
Joined  2008-03-16

Hello,

When I use a form with no attachments, everything works well and the emails are being sent.

But if the form has attachments, I can see the submission in the “Entries” panel (with the attachments) but the emails are not being sent…

Thank you.

—-—-—-
EE: 1.6.2
FF:  2.6.3

—-—-—-


Code working (with this code the entries appear in the “Entries” panel and emails are being sent):


{exp:freeform:form
 form_name
="spain" 
 
template="spain"
 
required="name|email"
 
file_upload ="Main Upload Directory"
 
send_attachment="yes"
 
notify="my-true-email@gmail.com"
 
return="web/index" }

<p>Name<br />
<
input type="text" name="name" value="" />
</
p>

<
p>Email<br />
<
input type="text" name="email" value="" />
</
p>

<
p>
<
input type="submit" name="submit" value="Enviar" />
</
p>

{/exp:freeform:form} 

Code not working (with this code the entries with the attachments do appear in the “Entries” panel but emails are not being sent):


{exp:freeform:form
 form_name
="spain" 
 
template="spain"
 
required="name|email"
 
file_upload ="Main Upload Directory"
 
send_attachment="yes"
 
notify="my-true-email@gmail.com"
 
return="web/index" }

<p>Name<br />
<
input type="text" name="name" value="" />
</
p>

<
p>Email<br />
<
input type="text" name="email" value="" />
</
p>

<
p>
<
input type="submit" name="submit" value="Enviar" />
</
p>

<
p><label>Image 1:</label>
<
input type="file" name="file1" value="" /><br/>
</
p>

<
p><label>Image 2:</label>
<
input type="file" name="file2" value="" /><br/>
</
p>

{/exp:freeform:form} 

This is the template:

Someone has posted to FreeformHere are the details:

Entry Date{entry_date}
{all_custom_fields} 

Profile
 
 
Posted: 17 March 2008 06:59 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Abraham,

Is there any chance a spam filter is kicking in? smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 17 March 2008 07:21 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  4
Joined  2008-03-16

Hello, thank you for your reply.

I have already checked if the emails were in the spam folder for any reason, but it is empty.

I’m a little bit lost about what else could I check right now…

Thank you!

Profile
 
 
Posted: 17 March 2008 07:53 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Abraham,

In the Freeform CP
CP Home ›  Modules ›  Freeform ›  Manage Entries

Does is the “Attachments” text load up as a link, (and list the attachments when clicked) in the Attachments column?

Also, for curiosity sake, try using the “default_template” and see what happens smile

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 17 March 2008 08:19 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  4
Joined  2008-03-16
Pie Man - 17 March 2008 07:53 AM

Abraham,

In the Freeform CP
CP Home ›  Modules ›  Freeform ›  Manage Entries

Does is the “Attachments” text load up as a link, (and list the attachments when clicked) in the Attachments column?

Yes, no problem with that.

Also, for curiosity sake, try using the “default_template” and see what happens smile

I’m trying with the “default_template” and the result is exactly the same.

Additionally, with both templates the fact is that with the second code (quoted in my first post) the email fails to be sent only if I attach a file, if no file is attached the emails are being sent.

Thank you!

EDIT: Just now, I’m noticing a second issue that it seems to me it is related to this one:

If I’m not logged-in in EE, I find again the same problem. With no attachment the emails are being sent, but with attachments I get this error:

You are not authorized to perform this action

(Note: This message does not appear when the attachments also fail to be sent but I’m logged in EE).

Thanks!

Profile
 
 
Posted: 17 March 2008 08:34 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  736
Joined  2004-03-30

Abraham,

While we troubleshoot on our end, can you try something funny? Move your parameters around in the Freeform tag. For example, put the notify param first in the list. See what happens. Most likely nothing, but still it’s worked for me in the past.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 17 March 2008 02:32 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  4
Joined  2008-03-16

Hello Mitchell,

This is what I have been trying, but the result is still the same:

{exp:freeform:form 
 notify
="my-true-email@gmail.com"
 
send_attachment="yes"
 
form_name="spain"  
 
template="spain" 
 
required="name|email" 
 
file_upload ="Main Upload Directory" 
 
return="web/index" 

{exp:freeform:form 
 send_attachment
="yes"
 
notify="my-true-email@gmail.com"
 
form_name="spain"  
 
template="spain" 
 
required="name|email" 
 
file_upload ="Main Upload Directory" 
 
return="web/index" 

 

{exp:freeform:form 
 file_upload 
="Main Upload Directory" 
 
send_attachment="yes"
 
notify="my-true-email@gmail.com"
 
form_name="spain"  
 
template="spain" 
 
required="name|email" 
 
return="web/index" 

 

{exp:freeform:form 
 required
="name|email" 
 
file_upload ="Main Upload Directory" 
 
send_attachment="yes"
 
notify="my-true-email@gmail.com"
 
form_name="spain"  
 
template="spain" 
 
return="web/index" 

Thanks!

Profile
 
 
Posted: 17 March 2008 08:38 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3717
Joined  2006-10-18

Abraham,

One of our developers is looking into this issue. smile

Thank you for your patience.

 Signature 

Check out the new Solspace Blog!

Profile
 
 
Posted: 26 March 2008 10:51 PM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  3
Joined  2008-02-26

have it been resolved? If so, could you please let me know how to resolve this issue?

I have a similar problem - attachment does not have links in attachments column under freeform cp :(
and the links and filename are not shown in the notified emails.

thanks~

EDIT: Never mind, I got it working, because I missed the file_upload parameter. Thanks so much for your hard work! smile

Profile