What does VasSendMail ?
When VasSendMail will work from my page ?
How to configure the applet ?
How to see if my webserver is a mailserver ?
My webserver is also a mailserver, but it does not work !
How all this sending mail stuff works ?
Everything is OK, but why sometimes I don't receive mails ?
What to do if my webserver is not a mailserver ?
I made everything but it's still not working. What to do ?
  1. What does VasSendMail ?
    It just sends an e-mail to the specified e-mail address, like every mail client program. It is a Java applet, so it is easy to understand and modify.
  2. When VasSendMail will work from my page ?
    In order to make it working from your web page, you must be sure that the hosting web server is in the same time a mail server (SMTP).
  3. How to configure the applet ?
    Normally, you have nothing to configure. Just see if your webserver is also a mailserver and make the correct call to the Java class from the webpage.
  4. How to see if my webserver is a mailserver ?
    To see if your web server is also a mail server (SMTP), under the command prompt type (when you are connected, of course) :
    telnet your_web_server 25, for example
    telnet www.chez.com 25 for my page.
    If you have no errors, and it connects to, then the webserver is a mail server (SMTP) too.
  5. My webserver is also a mailserver, but it does not work !
    Some mailservers are configured in order to not send mails outside their domain. It's means that they do not relay mails to other mailboxes then their own. To see if your mailserver relay or not, you have to try a complete SMTP session. For example : 220 ESMTP Sendmail 8.8.5/8.8.5; Sun, 7 Sep 1997 22:17:10 -1000
    helo vasile.md
    250 Hello vasile.md [194.158.108.66], pleased to meet you
    mail from: vasile@club-internet.fr
    250 vasile@club-internet.fr... Sender ok
    rcpt to: vasile@club-internet.fr
    571 vasile@club-internet.fr... Mail relaying for ppp-108-66.villette.club-internet.fr denied.

    The replay can also be : 553 vasile@club-internet.fr... We do not support relaying
    Possible solutions : send the mails to a local address, ie to an address recognized by the SMTP server or use codebase tag.
  6. How all this sending mail stuff works ?
    Nothing complicated here. This is a standard SMTP (Simple Mail Transfer Protocol) communication. Described in RFC (request for comments) number 821 at http://www.internic.net/rfc/rfc821.txt
    1. You say HELO "your_host"<CarriageReturn/LineFeed> to the server (in general, you can put whatever you want there)
    2. You say MAIL FROM: you@youserver.com<CR/LF>
    3. You say RCPT TO: the_person@you_contact.com<CR/LF>
    4. You say DATA<CR/LF>
    5. You put the body of the e-mail
    6. You type .<CR/LF> at the end of the message
    7. You say QUIT<CR/LF>
    Type HELP<CR/LF> if you have problems.
    SMTP command keywords are case insensitive.
  7. Everything is OK, but why sometimes I don't receive mails ?
    This applet may not work if the visitor is behind a firewall, where some connections are restricted. Also, sometimes the security configuration of Internet Explorer 4 does not allow the applets to connect to remote hosts.
  8. What to do if my webserver is not a mailserver ?
    You can launch this applet from my web page (using codebase) like this:
    <APPLET CODEBASE="http://www.chez.com/vasile/mail25/" CODE=VasSendMail.class WIDTH=470 HEIGHT=340></APPLET>
  9. I made everything but it's still not working. What to do ?
    Verify if your webserver is a mailserver too. If not, use codebase tag. Configure the applet properly. Check if you are not behind a firewall (if you are trying from your company's network, it's almost sure you are behind a firewall). Check if you have a Java-enabled browser (Netscape 2.02 or above, MSIE 3.0 or above). If it's still not working, contact the author (give as much details as you can).
    Don't forget that computers make never mistakes, there's always a human error. Even when creating buggy computers. :-)

VasSendMail page
Registration stuff
Last updated February 17, 1998
VasHomevasile@club-internet.frfrançaisVasJavaRegister
© 1997, 98 Vasile Calmatui