• Writting a baja program

    From Terminator@CHATFREE to All on Wednesday, August 15, 2001 04:31:00
    Is there any way in the program I am writting using baja to use my own varable and pass it to the baja library call routine to send out a netmail message?


    For a example I want to use this varable that SBBS uses to store the users email address in the users record.

    Example

    Mail_Send_Netmail myvarable

    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From PistolGrip@WASTELND to Terminator on Wednesday, August 15, 2001 19:07:00
    RE: Writting a baja program
    BY: Terminator to All on Wed Aug 15 2001 11:31 am

    Is there any way in the program I am writting using baja to use my own varab and pass it to the baja library call routine to send out a netmail message?


    For a example I want to use this varable that SBBS uses to store the users email address in the users record.

    Example

    Mail_Send_Netmail myvarable

    I don't think so, I don't believe that Baja function can accept a varible. Maybe Rob has some ideas, I'm sure you could use SMBUTIL to send an email/netmail from Baja, but it's not exactly the ideal situation.

    PG

    ---
    ■ Synchronet ■ WasteLand BBS ■ telnet://wasteland.darktech.org
  • From Digital Man to PistolGrip on Thursday, August 16, 2001 08:01:39
    RE: Writting a baja program
    BY: PistolGrip to Terminator on Thu Aug 16 2001 02:07 am


    Is there any way in the program I am writting using baja to use my own va and pass it to the baja library call routine to send out a netmail messag


    For a example I want to use this varable that SBBS uses to store the user email address in the users record.

    Example

    Mail_Send_Netmail myvarable

    I don't think so, I don't believe that Baja function can accept a varible. Maybe Rob has some ideas, I'm sure you could use SMBUTIL to send an email/netmail from Baja, but it's not exactly the ideal situation.

    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.

    Rob
  • From PistolGrip@WASTELND to Digital Man on Thursday, August 16, 2001 14:27:00
    RE: Writting a baja program
    BY: Digital Man to PistolGrip on Thu Aug 16 2001 03:01 pm

    RE: Writting a baja program
    BY: PistolGrip to Terminator on Thu Aug 16 2001 02:07 am

    I don't think so, I don't believe that Baja function can accept a varible Maybe Rob has some ideas, I'm sure you could use SMBUTIL to send an email/netmail from Baja, but it's not exactly the ideal situation.

    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.

    Ahh... good. I wasn't sure if it would work that way. Would MAIL_SEND_NETMAIL do the same thing? Or is this just an implementation in the MAIL_SEND
    function specifically?

    So then he could simply do this, correct?

    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND

    ############################

    PG

    ---
    ■ Synchronet ■ WasteLand BBS ■ telnet://wasteland.darktech.org
  • From Digital Man to PistolGrip on Thursday, August 16, 2001 15:40:18
    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Thu Aug 16 2001 09:27 pm

    I don't think so, I don't believe that Baja function can accept a vari Maybe Rob has some ideas, I'm sure you could use SMBUTIL to send an email/netmail from Baja, but it's not exactly the ideal situation.

    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.

    Ahh... good. I wasn't sure if it would work that way. Would MAIL_SEND_NETM do the same thing? Or is this just an implementation in the MAIL_SEND function specifically?

    No, MAIL_SEND_NETMAIL prompts the user for the address.

    So then he could simply do this, correct?

    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND

    ############################

    Yup.

    -Rob
  • From PistolGrip@WASTELND to Digital Man on Thursday, August 16, 2001 20:01:00
    RE: Writting a baja program
    BY: Digital Man to PistolGrip on Thu Aug 16 2001 10:40 pm

    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Thu Aug 16 2001 09:27 pm

    Ahh... good. I wasn't sure if it would work that way. Would MAIL_SEND_N do the same thing? Or is this just an implementation in the MAIL_SEND function specifically?

    No, MAIL_SEND_NETMAIL prompts the user for the address.

    Got it, just peaked my curiosity. Thanks.

    So then he could simply do this, correct?
    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND
    ############################

    Yup.

    Sweet, I wish I would have known this earlier.

    PG

    ---
    ■ Synchronet ■ WasteLand BBS ■ telnet://wasteland.darktech.org
  • From Terminator@CHATFREE to Digital Man on Friday, August 17, 2001 01:02:00
    RE: Writting a baja program
    BY: Digital Man to PistolGrip on Thu Aug 16 2001 15:01:00

    I don't think so, I don't believe that Baja function can accept a varible Maybe Rob has some ideas, I'm sure you could use SMBUTIL to send an email/netmail from Baja, but it's not exactly the ideal situation.

    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.


    Is sic a baja system varable because I can not find it in the baja docs?

    Would it be something like this

    str uea
    set uea ""
    copy the SBBS users email address varable to uea
    mail_send uea

    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From Kernal2@CHATFREE to PistolGrip on Friday, August 17, 2001 03:41:00
    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Thu Aug 16 2001 21:27:00


    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.

    Ahh... good. I wasn't sure if it would work that way. Would MAIL_SEND_NETM do the same thing? Or is this just an implementation in the MAIL_SEND function specifically?

    So then he could simply do this, correct?

    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND

    ############################

    PG

    For some resson that is working. Its prompting me if I am sure if I want to send a email message to kernal2 #1. I do not want the program to prompt the user to enter any email address.

    It would be something like this.

    The email address that you provided us was : ptaylor2@cox.rr.com

    Is this correct [Yes or No}

    The program will generate a new password using the str np

    copy ae _useron.netmail

    Programs sends out the email message to the internet.

    Can you please give me a example on how I can do this?

    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From Evan Elias to Terminator on Friday, August 17, 2001 06:19:59
    RE: Writting a baja program
    BY: Terminator to Digital Man on Fri Aug 17 2001 08:02 am

    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instead.


    Is sic a baja system varable because I can not find it in the baja docs?

    I think he was just pointing out a spelling error (ie.. variable vs varable)
  • From Terminator@CHATFREE to PistolGrip on Friday, August 17, 2001 08:57:00
    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Fri Aug 17 2001 03:01:00


    So then he could simply do this, correct?
    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND
    ############################

    Yup.

    Sweet, I wish I would have known this earlier.


    This worked except I need to include the users password in the body of the email message. Do you know how I can do this please?

    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From Terminator@CHATFREE to PistolGrip on Saturday, August 18, 2001 03:56:00
    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Thu Aug 16 2001 21:27:00

    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable



    Is there any way to include the users password in the body of the email message please?

    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From Kernal2@CHATFREE to All on Sunday, August 19, 2001 11:01:00
    RE: Writting a baja program
    BY: Terminator to PistolGrip on Sat Aug 18 2001 10:56:48


    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable



    Is there any way to include the users password in the body of the email mess please?


    Thank you
    Terminator


    ---
    ■ Synchronet ■ Synchronet -> Chatfree BBS bbs.chatfree.org
  • From Jas Hud to Kernal2 on Monday, August 20, 2001 02:52:37
    RE: Writting a baja program
    BY: Kernal2 to PistolGrip on Fri Aug 17 2001 10:41 am

    RE: Writting a baja program
    BY: PistolGrip to Digital Man on Thu Aug 16 2001 21:27:00


    Copy myvarable [sic] to the command str (str) and use MAIL_SEND instea

    Ahh... good. I wasn't sure if it would work that way. Would MAIL_SEND_N do the same thing? Or is this just an implementation in the MAIL_SEND function specifically?

    So then he could simply do this, correct?

    ############################
    copy str _USERON.NETMAIL
    ## or
    copy str myvariable

    MAIL_SEND

    ############################

    PG

    For some resson that is working. Its prompting me if I am sure if I want to send a email message to kernal2 #1. I do not want the program to prompt the user to enter any email address.

    It would be something like this.

    The email address that you provided us was : ptaylor2@cox.rr.com

    Is this correct [Yes or No}

    The program will generate a new password using the str np

    copy ae _useron.netmail

    Programs sends out the email message to the internet.

    Can you please give me a example on how I can do this?

    Thank you
    Terminator


    check out jackflash's demonic cbv.
    he included the src, unlike that other guy.
    personally, i think cbv's are a pain in the ass, and scare users away..
    but hell, i even wrote one and sent it out (with the src)