• Email and baja...

    From Richard Brumpton@VERT to All on Wed Sep 4 01:13:00 2002
    Ok, whats wrong with the following...

    a variable called email is set to "sysop@carso.darktech.org"

    My script says

    SETSTR email
    UNGETSTR
    main_send_netmail

    I thought that this would put the contents of the variable email into the buffer, which in turn would automaticay address email to sysop@carso.darktech.org

    BUT, it doesn't it puts the next email into the buffer the the main_send_netmail command receives the word "email"

    Anyone know wha I am doing wrong?

    Merlin

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Richard Brumpton on Wed Sep 4 10:49:00 2002
    Re: Email and baja...
    By: Richard Brumpton to All on Wed Sep 04 2002 05:13 am

    Ok, whats wrong with the following...

    a variable called email is set to "sysop@carso.darktech.org"

    My script says

    SETSTR email
    UNGETSTR
    main_send_netmail

    I thought that this would put the contents of the variable email into the buffer, which in turn would automaticay address email to sysop@carso.darktech.org

    BUT, it doesn't it puts the next email into the buffer the the main_send_netmail command receives the word "email"

    Anyone know wha I am doing wrong?

    SETSTR expects a string constant (cstr) argument, not a variable name. Use this instead:

    COPY str email

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net