Email problem picking up field "email address"

0 views
Skip to first unread message

MB

unread,
Sep 27, 2007, 1:03:08 PM9/27/07
to Lasso Talk
Hi I have been using lasso for the last eight years.

In version 8 the mail program did not work for me because lasso do not
support the SMPT protocol. I learned that Lasso 8.4 is supporting this
protocol. I download an evolution version to test this email feature.

Here is the email program code the use to generate the email. So far the
email do not go through.

I need to pickup the email to: from the field "email". I do not hard code
it.
Could some one look at this could and let me know what went wrong.

--- Here is the code----

<form action="undefined" method="POST">

[Inline: (Action_Params), -Database='JTracking', -Table='List', -Add]

[If: (Error_CurrentError) != (Error_NoError)]An error has occurred.
([Error_CurrentError: -ErrorCode] [Error_CurrentError])[/If]

[/Inline]

Application tracking # : [Action_Param: 'trackingID']
&nbsp;&nbsp;&nbsp;&nbsp;Client ID #: [Action_Param: 'id']

First name : [Action_Param: 'Fname'] &nbsp;&nbsp;&nbsp;&nbsp; Last name:
[Action_Param: 'Lname']

Email address: [Action_Param: 'email']

Copy email to : [Action_Param: 'ccemail']

Applicationt for : [Action_Param: 'Client']

Type of application [Action_Param: 'application']

Application process stage : [Action_Param: 'stage']&nbsp;&nbsp;&nbsp;&nbsp;
Date entered [Action_Param: 'stdate']

[Email_Send: -To=(Field: 'email'),

-From='mb...@umn.edu',

-Subject='A Test Message,

-Body='This is a test message + Date]

</form>
--
M.B
U of MN
Tel. 612-626-8603

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Ginny White

unread,
Sep 27, 2007, 2:41:48 PM9/27/07
to Lasso Talk
-Subject='A Test Message,
-Body='This is a test message + Date]

These two lines are missing quotes and parenthesis if this is your code, verbatim. I think it would need to be:

-Subject='A Test Message',
-Body='This is a test message' + (Date)]

You'll also probably want to check that there are valid values submitted for the Action Params email and ccemail. If they are invalid addresses or empty, and in this case, if the value isn't saved to the right field in the database, the email won't get sent. I've had the issue with empty -To: email addresses lately, even when the -cc addres has been valid, so thought I'd mention that. Checking the site administration app (Site Administration app --> Utility --> Email --> Email Errors) for email errors is helpful if you haven't already done that.

--Ginny


--
Ginny White
IT Consultant
Yamada Language Center & American English Institute
University of Oregon
x6-3654

Jason Huck

unread,
Sep 27, 2007, 2:46:15 PM9/27/07
to Lasso Talk
[field] only works inside of [inline] ... [/inline]. You are using it
outside of [inline], so it's not returning anything.

- jason


--
Find and Share Free Lasso Custom Tags at tagSwap.net!
Download hundreds of open source Lasso custom tags, and post your own
for others to use. RSS feeds track the newest and most popular tags.
http://tagSwap.net/

Reply all
Reply to author
Forward
0 new messages