ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

send email - QtmmSendMail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: send email - QtmmSendMail

    I am getting a compile error from WDSC that says...

    Code:
    RNF0273 Compiler not able to open the /COPY or /INCLUDE file; directive ignored.
    And it says this about my IFSIO copy file. The copybook is where it should be, I'm doing anything different from any of my other copybooks. Does it have something to do with the /if defined stuff at the top of the members?
    Your future President
    Bryce

    ---------------------------------------------
    http://www.bravobryce.com

    Comment


    • #17
      Re: send email - QtmmSendMail

      Should I be using CRTPGM instead of CRTBNDRPG?
      Your future President
      Bryce

      ---------------------------------------------
      http://www.bravobryce.com

      Comment


      • #18
        Re: send email - QtmmSendMail

        I do not know what's wrong w/ /copy and /include. However, look at the top of the Jamie's lists that shows you how you must compile this stuff.

        * CRTRPGMOD MODULE(QTEMP/HTMLONLY) +
        * SRCFILE(xxx/QRPGLESRC) +
        * DBGVIEW(*LIST)


        * CRTPGM PGM(&mylib/HTMLmail) +
        * MODULE(&mylib/HTMLmail) +
        * BNDSRVPGM(QTCP/QTMMSNDM)
        Philippe

        Comment


        • #19
          Re: send email - QtmmSendMail

          Never mind. I'm an idiot. I didn't see those handy dandy compile stuff in the comments. Now it compiles just fine
          Your future President
          Bryce

          ---------------------------------------------
          http://www.bravobryce.com

          Comment


          • #20
            Re: send email - QtmmSendMail

            What subsystems need to be running in order to process and send mail? I don't think we have it running
            Your future President
            Bryce

            ---------------------------------------------
            http://www.bravobryce.com

            Comment


            • #21
              Re: send email - QtmmSendMail

              Also you can visit my site to get the same much enhanced program here.
              All the text is in french that you may translate using the MS transaltor but the program comments are in your tongue.

              You can add up to 15 recipients (to, cc, cci) and 30 attached files (included binaries XLS, DOC, SAVF, ... or JPG, GIF, ... images ) using the home-made command SNDEMAIL.
              Last edited by Mercury; November 6, 2008, 11:11 AM.
              Philippe

              Comment


              • #22
                Re: send email - QtmmSendMail

                SMTP server must be started.
                Philippe

                Comment


                • #23
                  Re: send email - QtmmSendMail

                  If we start up the SMTP server is there anything we should look out for? Are there any settings we should make sure set so that we do not accept incoming mail?
                  Your future President
                  Bryce

                  ---------------------------------------------
                  http://www.bravobryce.com

                  Comment


                  • #24
                    Re: send email - QtmmSendMail

                    The SMTP server is used to send e-mails not to receive them.
                    SMTP stands for Simple Mail Transfer Protocol.
                    Philippe

                    Comment


                    • #25
                      Re: send email - QtmmSendMail

                      in the RPG header it says this -- you need to install BASE64 first..
                      My bad should have made it clearer. Mercury is correct as
                      always...

                      -- This requires the BASE64 open source utility from
                      http://www.scottklement.com/base64.
                      -- make sure base64 utility has been compiled.
                      -- Change the "from" and "to" e-mail addresses at
                      the top of the calc specs, below!
                      -- Change the name of the file you want to attach
                      at the top of the calc specs, below!
                      [scott-ON]
                      THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
                      ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                      IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                      ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
                      FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                      DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                      OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                      HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                      LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                      OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                      SUCH DAMAGE.
                      [scott-OFF]
                      Attached Files
                      All my answers were extracted from the "Big Dummy's Guide to the As400"
                      and I take no responsibility for any of them.

                      www.code400.com

                      Comment


                      • #26
                        Re: send email - QtmmSendMail

                        eeeee

                        I don't know if they'll let me put that one on....

                        They sometimes aren't too fond of third party stuff that is free. "There's no support"... Don't shoot the messenger
                        Your future President
                        Bryce

                        ---------------------------------------------
                        http://www.bravobryce.com

                        Comment


                        • #27
                          Re: send email - QtmmSendMail

                          i love free...........
                          All my answers were extracted from the "Big Dummy's Guide to the As400"
                          and I take no responsibility for any of them.

                          www.code400.com

                          Comment


                          • #28
                            Re: send email - QtmmSendMail

                            Originally posted by bryce4president View Post
                            eeeee

                            I don't know if they'll let me put that one on....

                            They sometimes aren't too fond of third party stuff that is free. "There's no support"... Don't shoot the messenger
                            Tell em you'll support it
                            Ben

                            Comment


                            • #29
                              Re: send email - QtmmSendMail

                              Originally posted by bryce4president View Post
                              eeeee

                              I don't know if they'll let me put that one on....

                              They sometimes aren't too fond of third party stuff that is free. "There's no support"... Don't shoot the messenger
                              ... and to make out a cheque for $5000 to Kit. Then it's not free :Þ
                              Regards

                              Kit
                              http://www.ecofitonline.com
                              DeskfIT - ChangefIT - XrefIT
                              ___________________________________
                              There are only 3 kinds of people -
                              Those that can count and those that can't.

                              Comment

                              Working...
                              X