Sponsored Content
Full Discussion: Send mail using SMTP
Special Forums Windows & DOS: Issues & Discussions Send mail using SMTP Post 302275194 by csorhand on Friday 9th of January 2009 01:16:22 PM
Old 01-09-2009
mohantmk,

You can use the DOS prompt and telnet your SMTP server like this

1. telnet < SMTP Server IP > 25

from there you

2. type ehlo < the domain name > you will receive prompt

google about STMP commands ( MAILTO / MAIL from/ DATA)


cheers!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SMTP going to Junk Mail

Hi All I have a slight problem with sending mails from my server - if I send mails to Yahoo! or Hotmail, either direct via the SMTP server, or through sendmail, the email ends up in the account holder's Junk Mail folder. Is something in the headers causing these emails to be treated as junk?... (3 Replies)
Discussion started by: saabir
3 Replies

2. IP Networking

SMTP mail

I want to send e-mail from my yahoo account. But mail -s "title" *@yahoo.com < line.txt is from my local address to *@yahoo.com. How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies

3. UNIX for Dummies Questions & Answers

Send email using Exchange as SMTP

Hi. I have a Tru64 Unix V5.1 server that I would like to send emails using an exchange server we have on the same network as the smtp of this machine. What are the requirements/configuration that I need to do in order to make this possible. We are planning on emailing error messages and such from... (2 Replies)
Discussion started by: fidodido
2 Replies

4. UNIX for Dummies Questions & Answers

sending mail via smtp

Hi Gururs, I have a process on a middelware (SAP XI) that is runnung on HP-UX. This Process is creating a flatfile. Now I want to call a script within the process that sends the created flatfile as attachment via Mail using a smpt-server. The script should have the following input parameters:... (2 Replies)
Discussion started by: elko.hasse
2 Replies

5. Programming

SMTP mail client C++

Hey Guys, I am writing an SMTP mail client in c++ in unix and it needs to do the following: I need to create a client the client talks to port 25 it sends a hello world message I also need to support and smtpclient class and a clientdriver class I have written the smtpclient class, but I... (1 Reply)
Discussion started by: jcy8096
1 Replies

6. Programming

Send mail via SMTP

If anybody has a c/c++ code of send mail via smtp with or without authorization for Linux, I will be very grateful. Thank's. (0 Replies)
Discussion started by: LuckyStr
0 Replies

7. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

8. AIX

Enable send email through smtp - exchange on AIX 6.1

Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies

9. Shell Programming and Scripting

Perl: Send mail via SMTP

I have a existing perl program , in this program it will output a email address list to a variable ( $email_list ) , mail content to a variable ( $email_content ) , if I want to send all email to these email address with corresponding content , would aadivse how to write a perl script ? thanks (2 Replies)
Discussion started by: ust3
2 Replies

10. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
Qpsmtpd::Connection(3pm)				User Contributed Perl Documentation				  Qpsmtpd::Connection(3pm)

NAME
Qpsmtpd::Connection - A single SMTP connection SYNOPSIS
my $rdns = $qp->connection->remote_host; my $ip = $qp->connection->remote_ip; DESCRIPTION
This class contains details about an individual SMTP connection. A connection lasts the lifetime of a TCP connection to the SMTP server. See also Qpsmtpd::Transaction which is a class containing details about an individual SMTP transaction. A transaction lasts from "MAIL FROM" to the end of the "DATA" marker, or a "RSET" command, whichever comes first, whereas a connection lasts until the client disconnects. API
These API docs assume you already have a connection object. See the source code if you need to construct one. You can access the connection object via the "Qpsmtpd" object's "$qp->connection" method. new ( ) Instantiates a new Qpsmtpd::Connection object. start ( %args ) Initializes the connection object with %args attribute data. remote_host( ) The remote host connecting to the server as looked up via reverse dns. remote_ip( ) The remote IP address of the connecting host. remote_port( ) The remote port. remote_info( ) If your server does an ident lookup on the remote host, this is the identity of the remote client. local_ip( ) The local ip. local_port( ) The local port. hello( ) Either "helo" or "ehlo" depending on how the remote client greeted your server. NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks. hello_host( ) The host name specified in the "HELO" or "EHLO" command. NOTE: This field is empty during the helo or ehlo hooks, it is only set after a successful return from those hooks. notes($key [, $value]) Get or set a note on the connection. This is a piece of data that you wish to attach to the connection and read somewhere else. For example you can use this to pass data between plugins. clone([%args]) Returns a copy of the Qpsmtpd::Connection object. The optional args parameter may contain: no_reset (1|0) If true, do not reset the original connection object, the author has to care about that: only the cloned connection object is reset at the end of the connection relay_client( ) True if the client is allowed to relay messages. perl v5.14.2 2009-04-02 Qpsmtpd::Connection(3pm)
All times are GMT -4. The time now is 10:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy