Welcome, Guest. Please login or register.
Did you miss your activation email?
02/04/12, 00:54
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Recent Tutorial Support
| |-+  Flash Ecards (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  Does this Ecard thing work?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Does this Ecard thing work?  (Read 4403 times)
cappinkirk
Server what's that
*
Posts: 8


View Profile
« on: 02/12/09, 14:04 »

I have tried to send myself emails several times and I get nothing (from the flash-db site demo and from other sites in this help section). I have checked my spam/junk mail folders, tried sending from different accounts, etc. Can anyone send me a link to a card that I can look at?

Please ?

Thanks,

Kirk
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #1 on: 02/12/09, 14:15 »

Where did you install the eCard tutorial?
Did you check the ability of the server?
Did you read the text comming with this tutorial?
Logged

happy flashing
Cool
Ronald
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #2 on: 02/12/09, 14:21 »

i installed it here:

http://dcdev.arn.com/ecards/index.html

I'm checking with my admin to see if email sending is enabled.

Yes I read all the text but I can't even get the demo to work (I can't receive an email from the demo on flash-db.com, let alone on my site.)

thanks for quick reply

« Last Edit: 02/12/09, 16:34 by cappinkirk » Logged
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #3 on: 02/12/09, 17:01 »

fixed the link, it was wrong before. my server sends email & has php but I cannot get the thing to send mail. It just says "sending ecard please hold"

I changed the php file to contain the correct domain btw, but it doesnt work
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #4 on: 02/13/09, 02:38 »

at the beginning of the file "SendEcard.php" change at the first line:

<? into <?php

this should do it.
Logged

happy flashing
Cool
Ronald
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #5 on: 02/13/09, 10:59 »

it's writing the files to the dbtext folder properly but the email isn't sending

any thoughts?
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #6 on: 02/13/09, 12:22 »

Did you check the basic functionality of sendmail?

does this line work:

mail("yourmailaddress","something","content","From:yourmailaddress");

replace yourmailaddress with your real mailaddress - only mailaddress, nothing else.
Logged

happy flashing
Cool
Ronald
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #7 on: 02/13/09, 12:29 »

that works, but it still says..."sending e-card please hold"

that's really not a problem tho

any tips are welcomed but at least that works.

i just need to find out what the problem is in the email line I guess.

mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FromName." <".$FromEmail.">");
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #8 on: 02/13/09, 12:35 »

some mailers dont like the $ToName." <".$ToEmail.">", - try to use $ToEmail only.

mail($ToEmail,$ToSubject, $Message, "From: ".$FromEmail);

did you make sure you read the variables right with $ToEmail=$_POST['ToEmail'] etc. ?
Logged

happy flashing
Cool
Ronald
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #9 on: 02/13/09, 12:39 »

i'm getting it now...thanks a million!
Logged
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #10 on: 02/13/09, 14:35 »

now i get the email, the files write to dbtext, but when i click on the link all i see isthis:

> ">   " quality=high bgcolor=#FFFFFF TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> > ">   " quality=high bgcolor=#FFFFFF TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">


here's my code (SelectCard.php)

<HTML>
<HEAD>
<TITLE>Here's your Flash Ecard - from the Flash-dB.com Tutorial</TITLE>
<?
$ENum = $_GET["ENum"];
$EcardText = $_GET["EcardText"];
switch ($ENum)
  case '1':
   $goto = "Ecard1.swf?EcardText=".$EcardText;
   $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=1";
   $Dimensions = "WIDTH=400 HEIGHT=700";
   $DimensionsFooter = "WIDTH=400 HEIGHT=550";
   break;
   case '2':
   $goto = "Ecard2.swf?EcardText=".$EcardText;
   $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=2";
   $Dimensions = "WIDTH=400 HEIGHT=700";
   $DimensionsFooter = "WIDTH=400 HEIGHT=550";
   break;
   case '3':
   $goto = "Ecard3.swf?EcardText=".$EcardText;
   $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=3";
   $Dimensions = "WIDTH=700 HEIGHT=525";
   $DimensionsFooter = "WIDTH=700 HEIGHT=250";
   break;
   case '4':
   $goto = "Ecard4.swf?EcardText=".$EcardText;
   $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=4";
   $Dimensions = "WIDTH=700 HEIGHT=525";
   $DimensionsFooter = "WIDTH=700 HEIGHT=250";
   break;
   case '5':
   $goto = "Ecard5.swf?EcardText=".$EcardText;
   $gotoFooter = "EcardFooter.swf?EcardText=".$EcardText."&EcardSelect=5";
   $Dimensions = "WIDTH=700 HEIGHT=525";
   $DimensionsFooter = "WIDTH=700 HEIGHT=250";
   break;
}
?>
</head>
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
<center>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
<? print "$Dimensions";?>>
<PARAM NAME=movie VALUE="<? print "$goto";?>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? print "$goto";?>" quality=high bgcolor=#FFFFFF  <? print "$Dimensions";?> TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
<? print "$DimensionsFooter";?>>
<PARAM NAME=movie VALUE="<?print "$gotoFooter";?>"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="<? print "$gotoFooter";?>" quality=high bgcolor=#FFFFFF  <? print "$DimensionsFooter";?> TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</center>
</BODY>
</HTML>

any suggestions?
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6161


View Profile WWW Email
« Reply #11 on: 02/14/09, 02:24 »

The PHP-File is written for a special setting at the server, which is not set at yours.
Apache allows short (ASP like) tags, if the switch is set.
Normaly Apache expects <?php as starting tag for php code - the short tag is <?

Solution for you, and for all others having the problem, that php code is not executed, use the complete tags - means - replace all <? with <?php in all files.
Logged

happy flashing
Cool
Ronald
cappinkirk
Server what's that
*
Posts: 8


View Profile
« Reply #12 on: 02/20/09, 09:15 »

you are simply amazing.

thanks!
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything