Sponsored Content
Full Discussion: C Smtp
Top Forums Programming C Smtp Post 302167633 by grotesque on Friday 15th of February 2008 04:12:10 AM
Old 02-15-2008
C Smtp

how do you send a ".\n" in a smtp client?

>354 Send message, end with <CRLF>.<CRLF>
>.
>

i have already issued a "./n" but it doesnt work.

please help. thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Smtp

Hi All, I am running an email server on a Linux machine. My goal is to set up in a way that I can use pop3 to retrieve mail from a Windows machine using Outlook. Now I can download the messages from the Linux email server, however I can not send out messages. I encounter this error: ... (1 Reply)
Discussion started by: vtran4270
1 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. IP Networking

SMTP with sendmail

Hi, I have a solaris 9 box, and 2 domains A.com and B.net. the machine is on B.net. I am not able to send emails to @A.com using mail or mailx. after reading on sendmail, there was something about relaying and editing the file /etc/mail/relay-domains. Please let me know if this is what i... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies

4. Solaris

SMTP Configuration

Hello everyone, I've got this Java script which needs to know the SMTP host in order to send out mails from a particular mail ID. But I have no idea how or what to configure in SMTP for getting this code up and running.(All I know is SMTP=Simple Mail Transfer Protocol). I'm using Solaris 5.8.... (1 Reply)
Discussion started by: Rajat
1 Replies

5. AIX

SMTP doubt

Hi All, I have a unix box which is in a network with windows machine, I am able to send the mails to the user id's with in the unix box. I dont have Internet connection for this box, so I am not able to test if it can send mails to external network or not? I want to know, if SMTP is already... (0 Replies)
Discussion started by: balu_puttaganti
0 Replies

6. UNIX for Dummies Questions & Answers

Smtp

Hi All, I have a unix box which is in a network with windows machine, I am able to send the mails to the user id's with in the unix box. I dont have Internet connection for this box, so I am not able to test if it can send mails to external network or not? I want to know, if SMTP is already... (1 Reply)
Discussion started by: balu_puttaganti
1 Replies

7. Red Hat

SMTP Settings

Hi all, Please help to check weather the SMTP settings are configured or not on my LINUX server? I want to send a mail to mailbox. I know that the target SMTP server has to be configured on LINUX box to do so. How can i see weather it is configured or not? --Ramesh Ch. (3 Replies)
Discussion started by: Raamc
3 Replies

8. HP-UX

SMTP and NTLM

Hi, I have a HP Unix from which I'm trying to connect to an email server through telnet and test sending emails using commands. Why am I doing that is not important. The email server is an Exchange server and it looks like that the only Authentication method it supports is NTLM. The host name... (0 Replies)
Discussion started by: gheibia
0 Replies

9. Linux

SMTP issue

HI, I am having an issue with the mail. I had certain scripts who used to send mails. now i am not getting the mails as usual. need help to track the issue and resolve. mailx -s "Testing for details" xxx@yyy.zzz above code is used for mailing. can yoou please help? (2 Replies)
Discussion started by: onlyniladri
2 Replies

10. Solaris

SMTP relay Help

Hello!! Mau I know is there anyway that I can set the sendmail to relay the mail to different mail server base on the domain name? For example, Mail for abc.test.com will be sent to 1.1.1.1 and Mail for def.example.com will be sent to 2.2.2.2 Thanks for the help!!! (2 Replies)
Discussion started by: xiaochensg
2 Replies
SMTP-SOURCE(1)						      General Commands Manual						    SMTP-SOURCE(1)

NAME
smtp-source - multi-threaded SMTP/LMTP test generator SYNOPSIS
smtp-source [options] [inet:]host[:port] smtp-source [options] unix:pathname DESCRIPTION
smtp-source connects to the named host and TCP port (default: port 25) and sends one or more messages to it, either sequentially or in par- allel. The program speaks either SMTP (default) or LMTP. Connections can be made to UNIX-domain and IPv4 or IPv6 servers. IPv4 and IPv6 are the default. Note: this is an unsupported test program. No attempt is made to maintain compatibility between successive versions. Arguments: -4 Connect to the server with IPv4. This option has no effect when Postfix is built without IPv6 support. -6 Connect to the server with IPv6. This option is not available when Postfix is built without IPv6 support. -A Don't abort when the server sends something other than the expected positive reply code. -c Display a running counter that is incremented each time an SMTP DATA command completes. -C count When a host sends RESET instead of SYN|ACK, try count times before giving up. The default count is 1. Specify a larger count in order to work around a problem with TCP/IP stacks that send RESET when the listen queue is full. -d Don't disconnect after sending a message; send the next message over the same connection. -f from Use the specified sender address (default: <foo@myhostname>). -F file Send the pre-formatted message header and body in the specified file, while prepending '.' before lines that begin with '.', and while appending CRLF after each line. -l length Send length bytes as message payload. The length does not include message headers. -L Speak LMTP rather than SMTP. -m message_count Send the specified number of messages (default: 1). -M myhostname Use the specified hostname or [address] in the HELO command and in the default sender and recipient addresses, instead of the machine hostname. -N Prepend a non-repeating sequence number to each recipient address. This avoids the artificial 100% hit rate in the resolve and re- write client caches and exercises the trivial-rewrite daemon, better approximating Postfix performance under real-life work-loads. -o Old mode: don't send HELO, and don't send message headers. -r recipient_count Send the specified number of recipients per transaction (default: 1). Recipient names are generated by prepending a number to the recipient address. -R interval Wait for a random period of time 0 <= n <= interval between messages. Suspending one thread does not affect other delivery threads. -s session_count Run the specified number of SMTP sessions in parallel (default: 1). -S subject Send mail with the named subject line (default: none). -t to Use the specified recipient address (default: <foo@myhostname>). -T windowsize Override the default TCP window size. To work around broken TCP window scaling implementations, specify a value > 0 and < 65536. -v Make the program more verbose, for debugging purposes. -w interval Wait a fixed time between messages. Suspending one thread does not affect other delivery threads. [inet:]host[:port] Connect via TCP to host host, port port. The default port is smtp. unix:pathname Connect to the UNIX-domain socket at pathname. BUGS
No SMTP command pipelining support. SEE ALSO
smtp-sink(1), SMTP/LMTP message dump LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA SMTP-SOURCE(1)
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy