Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Sending Email

$
0
0
Re: Sending Email
Web Connection 5.0
Re: Sending Email
06/06/2012
09:56:06 PM
3IQ1B0M0P Show this entire thread in new window
Gratar Image based on email address
From:
Luca
To:
Attachments:
None
Hi Rick,
I solved. The solution is to consider the Postback status:

FUNCTION OnLoad() ... if .IsPostBack=.F. .txtRecipient.Text=Request.Querystring("Recipient") endif



Dear Rick,
I have a webpage sending email, I load recipient address from Request.Querystring

FUNCTION OnLoad() ... .txtRecipient.Text=Request.Querystring("Recipient")

then I can change manually recipient address before to send email.
The webTextBox for recipient has ControlSourceMode=TwoWay.
However even if I change manually the recipient address on webpage, the form sends email to original recipient (what loaded from Request.Querystring)

.oSmtp=CREATEOBJECT("wwSmtp") WITH .oSmtp ... .cRecipient=this.txtRecipient.Text

Please, what is wrong?
Thank you very much



Viewing all articles
Browse latest Browse all 10393

Trending Articles