• Email and baja...

    From Richard Brumpton@VERT to All on Wed Sep 4 05:13:46 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 telnet://vert.synchro.net
  • From Digital Man@VERT to Richard Brumpton on Wed Sep 4 14:49:40 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 telnet://vert.synchro.net