Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help with not sending and Netfirms settings

Thread began 4/23/2009 9:34 am by neileisen207079 | Last modified 4/23/2009 3:51 pm by Ray Borduin | 2045 views | 7 replies |

neileisen207079

Help with not sending and Netfirms settings

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.

Sign in to reply to this post

neileisen207079

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?

Sign in to reply to this post

neileisen207079

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?

Sign in to reply to this post

Ray BorduinWebAssist

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?

Sign in to reply to this post

neileisen207079

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.

Attached Files
confirmp.zip
Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

neileisen207079

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?

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...