Sponsored Content
Top Forums Shell Programming and Scripting Email Question - two email addresses Post 302200663 by Smiling Dragon on Thursday 29th of May 2008 06:40:25 PM
Old 05-29-2008
Java

According to google you need to use multiple RCPT lines:
Code:
...
for rcpt in `echo $MAILADDRTO | sed 's/,/ /g'`
do
  echo RCPT TO: $rcpt
  sleep 5
done
...

 

8 More Discussions You Might Find Interesting

1. Programming

How to delete email addresses

I need to delete old email addresses and can't them them out of my address I have a dell and am served by MSN? (Email address removed... Neo) (4 Replies)
Discussion started by: Deede
4 Replies

2. UNIX for Dummies Questions & Answers

How to delete old email addresses?

Help! Need to delete old email addresses from address book on Dell Windows 98............. -------- The subject line was one long string - I inserted spaces - oombera (1 Reply)
Discussion started by: Deede
1 Replies

3. Forum Support Area for Unregistered Users & Account Problems

keeps telling me my email addresses don't match

HI there, Trying to register but it keeps telling me my email address doesn't match. I tried several times. I even tried closing out and coming back to the page. Thanks (0 Replies)
Discussion started by: r0k3t
0 Replies

4. UNIX and Linux Applications

email addresses

Greetings to all. I have installed dadamail on my web site and it works extremely well. I have two questions: 1. I have modified dada to bounce bad emails, but only the first newsletter will use the modifications. If I create another list, it doesn't use the modification. What gives? 2. Are... (0 Replies)
Discussion started by: okbrowder
0 Replies

5. Shell Programming and Scripting

Create email Addresses

Hi, I own 2 websites 1world1game.com and thetoonarmy.net. I can access my 1world accont using mediatemples webmail. The problem i am having is that I want to allow users to register an email from a form on 1World1Game such as tom@thetoonarmy.net and be able to access it from 1world1game. ... (2 Replies)
Discussion started by: rmail2006
2 Replies

6. Shell Programming and Scripting

Extracting email addresses from a flat file

All, I have a flat file which contains an email address in every line. I am trying to find a way to extract all the email addresses delimited by comma (,). Can you please show me a way, it will be very helpful, thanks. (3 Replies)
Discussion started by: sed_beginner19
3 Replies

7. Shell Programming and Scripting

Removing patterns conforming to email addresses

I have a huge collection of text files on my computer. These files contain lots of text in them. The files look like this. Example 1: This is a test file. This is an email address: abc.yahoo.com. This is another line. Example 2: This is another file. The person can be contacted at... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies

8. Homework & Coursework Questions

Search email addresses using grep command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Let's say if we have a file with a lot of information. For example: iiadam otterhedgehog kayleigh... (2 Replies)
Discussion started by: ForeignGuy
2 Replies
smfi_delrcpt(3N)														  smfi_delrcpt(3N)

NAME
smfi_delrcpt() - removes a recipient from envelope of current sendmail message SYNOPSIS
PARAMETERS
ctx Specifies the opaque context structure. rcpt Specifies the recipient address to be removed, which is a non-NULL, null-terminated string. DESCRIPTION
removes the named recipient from the envelope of the current message. can be called only from the routine. Notes The addresses to be removed must match exactly. For example, if an address and its expanded form do not match, the address is not removed. RETURN VALUE
fails and returns due to the following reasons: o The rcpt variable is NULL. o Deleting recipients in the current connection state is invalid. o Network error occurs. o The is not set when the routine is called. returns on success. AUTHOR
was developed by the Sendmail Inc. SEE ALSO
smfi_addrcpt(3N), smfi_addheader(3N), smfi_chgheader(3N), smfi_insheader(3N), smfi_replacebody(3N). on smfi_delrcpt(3N)
All times are GMT -4. The time now is 06:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy