The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

ASP email form configuration - help please!

Hi All,

I'm hoping for a little help please! I have a client who asked me to take over a couple of existing sites for them the bulk of which is built directly as html so is nice and straight forward. However there are couple of forms on each site using asp which i have no experience of being a php guy.

I'm in the process of transferring the sites over to the hosting i provide with the idea of getting them up and running on domain references prior to transferring the domains etc.

All is now up and running except the forms which i was optismitacally hoping may just work straight out the box!

When i've gone to test the forms and hit submit i receive the following error:

I'm currently trying to send the test emails to an old email address i have for testing purposes, a couple of things sprung to mind as to why i have a problem but without knowing asp i'm just guessing really so any help would be appreciated!

1st thought - problem is occuring because site is residing on a domain reference, however as i haven't changed any of the smtp settings i'd have thought the email would still be sent via the existing mail server which currently works in the live environment?

2nd thought - its trying to send the email via the email server associated with the hosting i have provided so i therefore created a mirror email address and settings on the new hosting but this hasn't solved the problem.

Many Thanks for taking the time to read this and hopefully offer your advice!

ASP is Windows-only. You'll either need to use Windows hosting, or convert the ASP to PHP. (Which shouldn't be too difficult - emailing via PHP is pretty easy. Look at SwiftMailer or PHPMailer classes).