PDA

View Full Version : Help with not sending and Netfirms settings


neileisen207079
04-23-2009, 06:34 AM
Hi, the host is netfirms. The server is www.all-sport.com
I have a Linux server, and so I am using the Linux smtp settings.
I entered all-sport.com as the server, and basically left everything else as the default.

I used a valid email address for the return e-mail, and hard coded my own e-mail address in as the recipient.

I also tried the full www.all-sport.com as the server, nothing in that field, mail.all-sport.com, and even mail.www.all-sport.com and still nothing.

The mail is triffered from any form post, and the form being posted is a PayPal form on the page. Is that the problem? Seems like it should work, but I feel like I am stumped. I have a lot of sites hosted on Netfirms so once I get the settings I guess it should work for them all... can anyone help?

Oh, and also I tried using the debugging code, but the page posts to Paypal so I cant see it once I post the form.

neileisen207079
04-23-2009, 07:12 AM
OK as usual, the act of finally posting my problem triggers something in my brain that helps me find the solution. The problem is the PayPal form. For some reason it is not recognized as a "form" by WA and therefore even though it IS a form and is POSTing it doesnt trigger the email.

I figured it out by adding a dummy form with nothing but a button to the page, which triggered the email just fine.

I therefore changed the email trigger to "before page loads" which isnt exactly what I had in mind... because I wanted it AFTER the person committed to buy... but at least I am a step further along.

Maybe someone knows a way around this or has encountered it before?

neileisen207079
04-23-2009, 08:02 AM
OK, more info. I tried adding different buttons to the form, also triggering the mail on any of the buttons being pressed, also basically every other available trigger, and the only one I can get to work is before page loads. What might I be doing wrong?

Ray Borduin
04-23-2009, 08:29 AM
What is the action of the form that is posting? Where is the email code positioned? Is there any other functionality on the page with the email? Before it?

neileisen207079
04-23-2009, 12:13 PM
Here's the action of the form:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">

Actually I just uploaded the file as an attachment. thanks.

Ray Borduin
04-23-2009, 12:37 PM
Since you are using paypal standard, things work a little differently. You can't do anything "after" the user has committed to buy, because by that time they are on the paypal web site.

If you want to do something after, you need to implement IPN and send the email from the IPN page.

neileisen207079
04-23-2009, 12:44 PM
Oh ok. So whatever page is the SUCCESS page for the payment... I could put it into the before page loads event of that page? The one they are redirected to after their payment goes through on the paypal site?

Ray Borduin
04-23-2009, 12:51 PM
Yes. Although technically speaking this isn't a secure solution, since a user could go to that page directly without going to paypal. IPN is the secure solution for that problem. The success page can be used as a quick fix.