This would work. Also, you should enable the Debug output in the CF
administrator mail settings. In that same settings page, check the box
that verifies the mail server connection, then save the settings.
See, at that point, if the connection was successful or not.
Then, if it was, check the
From: Steve Kahn [mailto:[EMAIL PROTECTED]
Were not getting any mail thru our cfmail tag and want to
test it. If I put the following code on a page and call the
url will it work, or what would you recommend as a way to
test the cfmail tag? Thanks
'cfmailtest.cfm'
cfmail
This code as is won't work because it's expecting a form variable.
But yes, that's a great way to test. Just hard code a variable above the
cfmail tag with an email address:
cfset form.email = [EMAIL PROTECTED]
cfmail from=#form.email#
to=[EMAIL PROTECTED]
3 matches
Mail list logo