char *goodid;
char *goodrcpt;
+ (void) rou_alert(0,"%s Entering!",OPEP);
goodid=sql_gooddata(sqlptr,act->sessid);
goodrcpt=sql_gooddata(sqlptr,act->rcptto);
if (act->resp==(char **)0)
goodrcpt=rou_freestr(goodrcpt);
goodid=rou_freestr(goodid);
isok=true;
+ (void) rou_alert(0,"%s Exiting!",OPEP);
}
return isok;
/* */
/* Procedure to store an email contents with the */
/* recipient email area. */
-/* Return tru if successful, false otherwise */
+/* Return true if successful, false otherwise */
/* */
/********************************************************/
PUBLIC _Bool eml_store_email(TRATYP *tra)
phase=0;
proceed=true;
while (proceed==true) {
+ (void) rou_alert(0,"%s JMPDBG phase='%d'",OPEP,phase);
switch (phase) {
case 0 : //Extracting recipient email
if ((tra!=(TRATYP *)0)&&(tra->rcptto!=(char *)0)&&(strlen(tra->rcptto)>0))
}
break;
case 3 : //everything fine
+ char cmt[200];
+
+ (void) eml_freetra_resp(tra);
+ (void) snprintf(cmt,sizeof(cmt),"%d Message delivered in mail box",CMDOK);
+ tra->resp=(char **)rou_addlist((void **)tra->resp,(void *)strdup(cmt));
done=true;
break;
default : //SAFE Guard