Bug 2651 - the mailer - tags reply no error
Summary: the mailer - tags reply no error
Status: CLOSED WORKSFORME
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Mailer Taglib (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-17 02:17 UTC by seHaas
Modified: 2023-11-08 15:00 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seHaas 2001-07-17 02:17:50 UTC
the send tag doesn't display any error, if no correct email adress was set or 
add. it also doesn't display any error if the mail wasn't able to send.
Comment 1 rich 2001-07-24 09:30:53 UTC
If you use the error tag as the example shows, it will print out all email
addresses that are not proper email addresses i.e.
<characters>@<characters>.<characters> (I'm not sure exactly how it works but it
is similar to this).  Also since the mail is sent in the background as a thread,
it will not print anything to the user.  However it will log the fact that it
was unable to send the email using the ServletContext.log() method.  And
depending on what is configured an email message should be sent to the from
address telling the sender that the message was undeliverable.