HP3000-L Archives

June 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Koren, Noam" <[log in to unmask]>
Reply To:
Koren, Noam
Date:
Wed, 21 Jun 2000 06:59:40 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (142 lines)
Hello all,

I would like to ask for assistance with SMTP protocol issue:

I'm writing a little application ('c') that sends an e-mail using SMTP.

Everything works fine except the mail body itself...

For some reason, the message itself does not includes in the mail.

Here is the relevant SMTP code portion. I skip that part of the handshake
(HELO) etc that succeeds.
All commands succeed, and the mail is sent with all the data defined in the
DATA except to the 'bla bla' line that should be placed in the mail body.

Thanks for your help.

        /*
        DATA section
        ------------*/
        sprintf(szBuff,"DATA\r\n" );
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;
        receive_return_value=OS_MESSAGE_SMTPReceive(s,szBuff,256,0,"354");
    if (receive_return_value!=354)
                return 0;

        /*
        Mail message itself
        -------------------*/

        /* Date */
        tTime=time(NULL);
        ptm=localtime(&tTime);
        strftime(szTime,256,"%a, %d %b %Y %H:%M:%S:%Z",ptm);
        sprintf(szBuff,"Date: %s\r\n",szTime);
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;


        sprintf(szBuff,"To: %s\r\n",user_name);
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;


        sprintf(szBuff,"Subject: %s\r\n","Control-m WebSolution Message");
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;

        sprintf(szBuff,"bla bla bla \r\n" );
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;

        sprintf(szBuff,"\r\n" );
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;

        sprintf(szBuff,".\r\n" );
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;

        receive_return_value=OS_MESSAGE_SMTPReceive(s,szBuff,256,0,"250");
    if (receive_return_value!=250)
                return 0;


        /*
        End of mail data
        -------------------*/
        sprintf(szBuff,"QUIT\r\n");
        if(OS_MESSAGE_SMTPSend(s,szBuff,strlen(szBuff),0)==0)
                return 0;



        Regards,
        Noam Koren
        BMC/New Dimension Software
        voice: 972-3-7664508    fax: 972-3-6451100
        [log in to unmask]
>       bmcsoftware


-----Original Message-----
From: Andreas Schmidt [mailto:[log in to unmask]]
Sent: Tuesday, May 16, 2000 3:47 PM
To: [log in to unmask]
Subject: Re: System performance?!?


Hi,

just coming back from vacation I saw your note.

You may want to make use of Ploticus, an Unix tool I ported to MPE.

Under http://www.hillschmidt.de/ploticus/ there is an example how to produce
a
LaserRX look-a-like graph out of Scope/iX purely using HP3000 power. I admit
an
EXPORT out of Scope/iX is needed ... but no transfer to NT to make use of NT
PerfView, the HP official replacement of LaserRX.

If you have more questions don't hesitate to ask this group!

Best regards, Andreas Schmidt, CSC, Germany





[log in to unmask] on 05/05/2000 12:39:34 AM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/GIS/CSC)
Subject:  System performance?!?



Hi y'all out there,

Here is one for you:

I'm relatively new to mpe and I wanna make an overview of system
performance. I know that there is running s'thing called SCOPE, but that's
all. I'm wonderin' how can I get performance info out of this machine,
'cause even when I would learn how to extract that information out of scope,
how can I make a graphical representation of it. That once was done with a
windows based applic called Laserx (or s'thing) and we just simply lost the
darn' floppy disk...

Only thing I'm capable of at this moment is running glance to see whether
there is a problem at the moment...

Honourable greetings from the one who isn't probably worthy of being called
MPE sytem administrator,

bArtoque
[log in to unmask]

ATOM RSS1 RSS2