# E cards Problem...Need Help ASAP

**URL:** <https://forum.kirupa.com/t/e-cards-problem-need-help-asap/181450>\
**Category:** Uncategorized\
**Created:** [March 9, 2006, 2:21pm UTC](https://forum.kirupa.com/t/e-cards-problem-need-help-asap/181450 "2006-03-09T14:21:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navigator81](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@navigator81](https://forum.kirupa.com/u/navigator81)\
**Post date:** [March 9, 2006, 2:21pm UTC](https://forum.kirupa.com/t/e-cards-problem-need-help-asap/181450/1 "2006-03-09T14:21:36Z")

</div>

Jesse,  
This is for you…you remeber i sent you an emai lfro this and you said that i need to place it on the forums so i am keeping my promise…Please help me with this,  
I have developed an E cards Section on my website and want the user to select a card out of the options and send it out to an email adress…  
as you mentioned that for this kind of project i would need to include ASP and Database at the bakend…  
I have included both…  
Please see the attached code for the ASP FIles i used…Also the Acess Database i used at the back end…

## One the Flash File i am using the code below on Send…

## For Response:

mypic.\_x = picResp\_x;  
mypic.\_y = picResp\_y;

// show message based on return from mailResponse  
if (lvo.mailError == undefined || lvo.mailError == 1) {  
mailResponseMsg = “Sorry, we were unable to send your message. Please contact the site administrator.”;  
} else {  
mailResponseMsg = "A message was sent to " + lvo.toName + " at " + lvo.toEmail;  
}  
stop();

* * *

## For View :

// initializer function  
function init() {  
nCards = 3; // number of cards  
picSend\_x = 440; // x location of pic on send frame  
picSend\_y = 38; // y location  
picResp\_x = 45; // x location of pic on response frame  
picResp\_y = 45; // y location  
}

// function used by lvo when data received from writetodb.asp  
function formResponse() {  
if (this.errorCode\>0) {  
statusMsg = “Please make sure all fields are filled in and press Send again”;  
} else {  
// change function to be executed when next asp is done  
// so will send all properties previously set, as form vars  
this.onLoad = mailResponse;  
this.sendAndLoad(“sendit.asp”, lvo, “POST”);  
stop();  
}  
}

// function used by lvo when data received from sendit.asp  
function mailResponse() {  
\_root.gotoAndStop(“response”);  
}

## // executed code init(); stop();…

## For Send…Form:

this.attachMovie(“pic” + \_root.cardID, “mypic”, 1);  
mypic.\_x = picSend\_x;  
mypic.\_y = picSend\_y;  
stop();  
this one shows a thumbnail above the form…

But when i hit the Send Button:  
Here is the Error i get:

“Sorry we are unable to send your card…Please contact your administrator…”

I also tested this version of e cards Online but its still giving me the same error…

Quite honestly i am sure there is something wrong…but what is it ?..i am not really sure…

I would really appreciate if you could help me track the proble down…

Best regards
