Forums

ASP

This topic is locked

help with aspmail "forgot password"

Posted 08 May 2002 17:43:30
1
has voted
08 May 2002 17:43:30 Rick Harding posted:
I am trying to create a "forgot my password" e-mail page using aspmail. It
is getting stuck on the line:

Mailer.AddRecipient (rsForgotPass.Fields.Item("tfld_firstname".Value)
(rsForgotPass.Fields.Item("tfld_lastname".Value),
(rsForgotPass.Fields.Item("tfld_email".Value)

with an expected end of statement error.

Anyone know if this should work and if so, why I am getting this error.

If I take the line out and only put in a hard coded name and e-mail it
works.

The only other thing then is that the e-mail did not break lines with
"text here" & vbCrLf

Is there another way to get the line breaks...like "\n" in C++

Thanks a lot.

Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"

Replies

Replied 09 May 2002 09:53:09
09 May 2002 09:53:09 johannes nel replied:
is that the exact code? in that case u r 1 comma missing or a joiner (& or +)
else try encapsulating everything in brackets...

as to similating \n or endl, =("<BR>" , should do the same since u r outputing in a html stream instead of a console...


Reply to this topic