- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Sending mail via SMTP and getting extra lines in t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 04:04 AM
09-21-2005 04:04 AM
I am sending mail in VMS (simple text) to an internet address and when I read the message at the receiving end
I get two extra blank lines at the other end, one at the top and one at the bottom.
Example below:
$
$ type TEST.FILE
Line one "note no blank lines above" created on VMS Side.
Line two
Line Three
Line Four
Line Five "note no blank line below"
$mail test.file/sub="test file" SMTP%"sante_michelangelo@idx.com"
$
On the receiving end it looks like this...
Line one "note no blank lines above" created on VMS Side.
Line two
Line Three
Line Four
Line Five "note no blank line below"
Is there a logical or setting that can be set on the VMS side to exclude these two extra lines.
Thanks in advance.
Sante
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 08:04 AM
09-21-2005 08:04 AM
SolutionYou are not sending a file, but a mail message.
On the receiver side , You receive mail, and then produce a file by some means (save as ..., extract, cut/paste ?).
Send the same file to Your VMS account, and see if You get the same. (I bet no).
Mail messages received consist of header lines, then a blank line, followed by the text body.
Is it up to the mail reader to strip of the headers, and format the body for the screen.
If You want to make sure to get exactly the file, then enclose it in a MIME section or attachment, e.g. using the MIME facility on VMS (see HELP MIME).
Mail from VMS to VMS can be sent using the /FOREIGN qualifier in MAIL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 11:26 AM
09-21-2005 11:26 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 07:34 PM
09-21-2005 07:34 PM
Re: Sending mail via SMTP and getting extra lines in text at other end
The message body really contains only the text as entered (or is in the file sent).
If there is a signature, then an empty line is inserted between the body and the signature.
You can see the exact mail body in VMS if You send a message big enough to generate an external MAIL$*.MAI file.
VMS mail (the reader/user interface), by the way, does also add a line in front and after the body text.
One possible line could also result from sending with /SINATURE, but no file, or an empty signature exists.
Send the file with explicit /NOSIGNATURE
If the empty line is still there, then it is Your mail reader which inserts the lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 08:45 PM
09-21-2005 08:45 PM
Re: Sending mail via SMTP and getting extra lines in text at other end
...
#smtp_sender_cmd\1746 Entering smtp_sender_helo
send buf=HELO VMSmachine.aaaa.bbbb.ccc\0d\0a
#smtp_net_util\354 smtp_read_reply,fd=4,buf=,len=4096,cookie=1,timemin=5,timeno
#smtp_read_reply:B4 select: vaxc$errno=1, errno=0
#smtp_read_reply:After select: vaxc$errno=1, errno=0
#smtp_read_reply:select:status=1
#smtp_read_reply:rmask=16,wmask=0,emask=0
#smtp_read_reply:recv:status=102, vaxc$errno=1
recv buf=250 SMTPgateway.aaaa.bbbb.ccc Hello VMSmachine.aaaa.bbbb.ccc
#smtp_read_reply:end_of_reply=1
#smtp_read_reply:returning 1
...
First exchanges are identification & header info, after that the extact contents of the message will show up line by line. There you might find the extra blank lines (but I expect you will not find any).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 09:31 PM
09-21-2005 09:31 PM
Re: Sending mail via SMTP and getting extra lines in text at other end
where xxx is the address of the mail server.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 11:46 PM
09-21-2005 11:46 PM
Re: Sending mail via SMTP and getting extra lines in text at other end
mail/nosign/noedit/noself test.txt "huber@mppmu.mpg.de"
So Sante has to ask himself: how did I get the file out of my mail reader ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 11:55 PM
09-21-2005 11:55 PM
Re: Sending mail via SMTP and getting extra lines in text at other end
Sante, Sounds like a problem on the receiving end.
What if you send the same message from a non-vms system. Does it look different?
Garry, if it was a problem is record attributes, then I would expect the problem to be visible with each record, not just begin and end.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 12:28 AM
09-22-2005 12:28 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 12:46 AM
09-22-2005 12:46 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
The fact that an extracted file does NOT contain these lines clearly proves it.
(And the SMTP log file also shows these lines are NOT sent to the SMTP server at the other end).
So to repeat: You have to solve the problem "at the other" end of the line, at the receiver side, not the VMS sender.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 01:10 AM
09-22-2005 01:10 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
I don't think so.
The VAXmail GUI will SHOW blank lines to ease reading, but they do not exist.
You other gui appears to insert 2 blanks pre, 1 post message.
>> If you extract the file on the VMS side with /noheader the file looks fine.
Exactly. Proving the data is clean, the presentation trying to help.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2005 12:03 AM
09-23-2005 12:03 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
Joseph, I enclosed the file in a MIME section and it worked great. Thank you
And thank you all for the responses/feedback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2005 12:25 AM
09-23-2005 12:25 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
for how to assign points to each response. The points system is the feedback used here so people can find helpful answers and people.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2005 02:05 AM
09-23-2005 02:05 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 02:43 AM
09-26-2005 02:43 AM
Re: Sending mail via SMTP and getting extra lines in text at other end
erin_mcquillan@hotmail.com