View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Jun 16, 2003 11:48 pm Post subject: |
|
|
manojagrawal,
Sorry I missed this thread.
Just to clarify -
1. By using Kolusus's JCL I was getting subject and the attachment as message instead of attachment.
2. Then I modified, by trial and error without knowing what I was doing, and got subject and the attachment as attachment. If this is you requirement I can send my REXX/JCL
But I never tried Subject+message+Attachment. So if this is your requirement then I am helpless as I don't have M/F access nowadays.
Regards,
Diba. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Thu Jul 31, 2003 2:32 am Post subject: |
|
|
Is it possible to set Paper Size as 'Landscape'? |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Aug 18, 2003 6:04 am Post subject: |
|
|
Today I am getting following message if I send any atachment -
Quote: |
[Attachment denied by Firewall, Unsafe Attachment Type (type "(none)", filename "LCF133.DOC")]
|
|
|
Back to top |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Wed Sep 24, 2003 7:50 am Post subject: |
|
|
Hi Kolusu,
I tried your JCL and it works fine, except I am getting the following information on the email. What should I do to get only the subject. Thanks
BOUNDARY= "MYDELIM"
THIS MESSAGE IS IN MIME FORMAT
--MYDELIM
CONTENT-DISPOSITION: ATTACHMENT; FILENAME="TEST.TXT"
CONTENT-TYPE: TEXT/HTML
<PRE> <FONT FACE="ARIAL" SIZE=1>
Hi,
this is a test mail
bye
--MYDELIM |
|
Back to top |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Wed Sep 24, 2003 7:51 am Post subject: |
|
|
One more, can we add cc or bcc address ? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Sep 25, 2003 3:28 am Post subject: |
|
|
SureshKumar,
Try this
Code: |
//SMTP EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD *
HELO SYSA
MAIL FROM: <KOLUSU@MVSFORUMS.COM>
RCPT TO: <SURESHKUMAR@HOTMAIL.COM>
RCPT TO: <cc@host.com>
RCPT TO: <bcc@host.com>
DATA
FROM: Complete name of sender
TO: Complete name of adressee
CC: Complete name of CC
BCC: Complete name of BCC
SUBJECT: The Subject
REPLY-TO: reply@host.com
YOUR MESSAGE
.
QUIT
//*
//SYSUT2 DD SYSOUT=(A,SMTP)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
|
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
ml123 Beginner
Joined: 21 Apr 2004 Posts: 6 Topics: 1
|
Posted: Wed Apr 21, 2004 3:14 am Post subject: |
|
|
I don't have SMTP enabled in our mainframe.
How do I proceed sending mail from mainframe to PC?
What all to be installed before proceeding with this? |
|
Back to top |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Wed Apr 21, 2004 8:40 am Post subject: |
|
|
SMTP comes with TCP/IP. It runs as a started task and requires TCP/IP to be up. There will be some configuration required. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Apr 21, 2004 8:52 am Post subject: |
|
|
ml123, I have the same issue where I am. Our Systems Programmers will not activate the SMTP started task.
I rely on the e-mail output configuration from SAS for my batch work, and on REXX exec's that use standard TCP/IP socket calls to create the SMTP data stream. I believe that most of the common programming languages allow you to use TCP/IP sockets. |
|
Back to top |
|
|
have2hunt Beginner
Joined: 19 Jul 2004 Posts: 1 Topics: 0
|
Posted: Mon Jul 19, 2004 5:03 pm Post subject: Batch SMTP: Multiple recipients |
|
|
I've been able to get SMTP through batch to work (MVS w/IEBGENER), but I'm unable to send to multiple recipients. When I receive the email I see the additional names in the TO: line, but the additional people in the TO: line are not receiving the email. I've tried delimiting with commas and putting the recipients on seperate lines.
What is the syntax for multiple recipients? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Jul 20, 2004 5:36 am Post subject: |
|
|
Have2hunt,
Make sure that the email address is enclosed in angle brackets(< >). check the following example to sending the email to multiple addresses
Code: |
//SYSUT1 DD *
HELO SYSA
MAIL FROM: <KOLUSU@MVSFORUMS.COM>
RCPT TO: <EMAIL_ADDR1@HOST.COM>
RCPT TO: <EMAIL_ADDR2@HOST.COM>
RCPT TO: <EMAIL_ADDR3@HOST.COM>
RCPT TO: <EMAIL_ADDR4@HOST.COM>
RCPT TO: <EMAIL_ADDR5@HOST.COM>
RCPT TO: <EMAIL_ADDR6@HOST.COM>
RCPT TO: <EMAIL_ADDR7@HOST.COM>
DATA
|
Hope this helps..
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ml123 Beginner
Joined: 21 Apr 2004 Posts: 6 Topics: 1
|
Posted: Fri Jul 23, 2004 5:27 am Post subject: |
|
|
I am not able to send mail from mainframe to PC. I ran the JCL that is given. It ran with RC =0. But it is sending any mail from mainframe to pc. Should I change the settings? what to change and where to change?
Can some one please help me? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Jul 23, 2004 5:36 am Post subject: |
|
|
ml123,
On 2st of april you posted
Quote: |
I don't have SMTP enabled in our mainframe.
|
Did you get that fixed?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ml123 Beginner
Joined: 21 Apr 2004 Posts: 6 Topics: 1
|
Posted: Fri Jul 23, 2004 5:43 am Post subject: |
|
|
As you said, We don't have any SMTP task enabled in our mainframe. TCPIP task is running in our mainframe. IS that sufficient to send mail? |
|
Back to top |
|
|
whizkid79 Beginner
Joined: 29 Sep 2004 Posts: 53 Topics: 14
|
Posted: Wed Sep 29, 2004 11:14 pm Post subject: |
|
|
Hi all,
What does HELO SYSA stand for? Is it of any significance or just a message? |
|
Back to top |
|
|
|
|