| Author |
JSTL Jakarta Mailer Tag
|
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
Hi all, I am having trouble with my mailer tags. I have to develop an application which uses them, but I don't have access to the server logs. The trouble is the page appears to be running correctly, except either the E-Mail isn't being sent, or is getting lost/bounced. I am getting no error messages in the page. Is there a log which will give me a clue as to what is going on, so I can ask for it? Here is the code: Any help at all will be extremly appricated, as I am at a total dead end.
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
|
The problem might be that the mail server wants a username and password to send mail. Is there a way of supplying this information?
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
Use the user and password attribute of mail tag.
|
Groovy
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
Originally posted by Pradeep Bhat: Use the user and password attribute of mail tag.
[slaps head with palm of hand] Thanks. I will see if that fixes it
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
|
Nope. Still Nothing.
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
any error messages?
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
Originally posted by Pradeep Bhat: any error messages?
Not on the page. I am not sure where to look for errors other than that? I am still fairly new to JSTL, and especially Apache
|
 |
Andres Gonzalez
Ranch Hand
Joined: Nov 27, 2001
Posts: 1561
|
|
try this: hope it helps
|
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
Nope, nothing. All I can think of is that the SMTP server is swallowing them up.
|
 |
Andres Gonzalez
Ranch Hand
Joined: Nov 27, 2001
Posts: 1561
|
|
Originally posted by Dave Harper: Nope, nothing. All I can think of is that the SMTP server is swallowing them up.
Exactly that code worked for me. Is too hard without the logs, it's like debugging a code by hand
|
 |
Dave Harper
Greenhorn
Joined: Sep 29, 2003
Posts: 7
|
|
I finally worked it out. I wanted an anon return address, so filled it in as noreply@faculty.port.ac.uk, but the mail server wasn't having any of it unless I put in an actual 100% valid return address. Thanks for your suggestions, guys
|
 |
 |
|
|
subject: JSTL Jakarta Mailer Tag
|
|
|