Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SMTP commands through telnet

Posted on 2006-11-29
7
Medium Priority
?
1,018 Views
Last Modified: 2012-08-13
i am on my exchange box and i telneted into and i am testing some things. i can do a mail from and rcpt to and then enter a message. Is it possible to also attach a file? If so, what is the command?
0
Comment
Question by:msidnam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 104

Accepted Solution

by:
Sembee earned 800 total points
ID: 18041257
It can be done, but isn't pretty.

You have take the attachment and convert it in to base64 text (you realise that attachments in email are just plain text encoded in a different format) then you have to copy and paste that content in.

Yuck. I did it once and vowed never again.

Simon.
0
 
LVL 2

Author Comment

by:msidnam
ID: 18041280
gotcha. i am wondering if a program will be able to do it? Either way, thanks for the info. At least i know.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 18041319
A program?
You mean like Outlook Express? :-)

Simon.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 2

Author Comment

by:msidnam
ID: 18047078
outlook express (or outlook since we are on a domain with exchange server) would give my name in the from field. i want a different name. but dont want to make a different user :)


and i found a program. Its called mailsend. works great.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 18047306
Blat may also have worked for this as well.

Outlook Express was rather a tongue in check comment, as you didn't make it clear what you wanted to do.

Simon.
0
 
LVL 2

Author Comment

by:msidnam
ID: 18047419
We are trying to send internal mail to users but (ahem, spoof) the from field. We have an intranet and the person (outside contracter) who handles it can do it will a SQL stored procedure (i think thats what she calls it) but we didnt want to get that complicated since we wont be using it much. just something simple that we (I.T.) can send to users but have it say IT DEPT in the from field instead of my name or another techies name but also be able to attach files if need be. Sorry for the vagueness of the initial post.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 18047480
Blat would have done the job in that case. That is what a lot of IT administrators use for emailing things from scripts.

Simon.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question