mailx - mail ti ids containing ampersand


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mailx - mail ti ids containing ampersand
# 1  
Old 02-19-2009
Data mailx - mail ti ids containing ampersand

Hi

I am trying to send mail to an email id having ampersand in it.

Like abc.&.xyz@abc.com

But it is not being sent.
I also tried prefixing backslash before and after ampersand

Need HelpSmilie
# 2  
Old 02-19-2009
show HOW you're doing the mailing - code, please!
# 3  
Old 02-19-2009
Hi

I am using

mailx abc.&.xyz@abc.com
# 4  
Old 02-19-2009
Hi

I also tried

echo "Please Ignore" | mailx -s "Test Mail" ABC.\&\.XYZ@ABC.com
# 5  
Old 02-19-2009
Code:
echo "Please Ignore" | mailx -s "Test Mail" 'ABC.&.XYZ@ABC.com'

What do you get? Any error messages?
Is it being sent, but not being delivered?
# 6  
Old 02-19-2009
Hi

No it didnt gave any error and mail is not also not sent
# 7  
Old 02-19-2009
how do you know it has not been sent?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Problems sending mail: Difference between Mail and Mailx?

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL) ... (1 Reply)
Discussion started by: RedSpyder
1 Replies

2. Shell Programming and Scripting

Not able to send the mail using mail and mailx command

Hi All, I am trying to send a mail from linux server but could'nt able to send the mail. I tried the below syntax's so far but no luck. mail -s “Hello world” abc@xyz.com < /usr/g/txt.log cat "txt.log" | mailx -s "Hello world" abc@xyz.com mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies

3. Solaris

Mail from mailx not received

Hi , I'm trying to send a mail from a sunOS machine that is within hp network to my email: eman.el-badawy@hp.com ,the user trying to send is 'project',,but seems the mail address can not be resolved checking /var/log/syslog i got the following: Dec 25 14:34:02 svddev15 sendmail: ... (1 Reply)
Discussion started by: Eman_in_forum
1 Replies

4. Shell Programming and Scripting

perl script to check the mail ids in the correct format or not

Hi Folks, I have few mailids in a text file and need to check whether the mailid is in correct format or not. If just to check whether the string is a mailid or not there is a perl module Email::Valid to do the business or we can implement our own logic. But the mail_ids I am having is... (4 Replies)
Discussion started by: giridhar276
4 Replies

5. UNIX for Dummies Questions & Answers

Email ids trucated in Mailx function

I wanted to send email to list of people using mailx in unix. I am getting the emailds from a oracle table and getting the ids in a variable. Shell script is shown below: ----------------------------------------------------------------------- filename=testdata921 export filename... (5 Replies)
Discussion started by: sasi02
5 Replies

6. Shell Programming and Scripting

Send a mail to IDs listed in a text file

I have a list of mail ids in text file and want a ksh script that reads this text file and sends a mail to all mail ids with same subject line and content. I am using UX-HP machine and KSH. Thanks for help in advance! (5 Replies)
Discussion started by: Sriranga
5 Replies

7. UNIX for Advanced & Expert Users

mailx commannd - Mail and Attachment in same mail

Hi , I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies

8. UNIX for Advanced & Expert Users

Script which can send file to diffrent mail ids.

Hi i am looking for the script which can send file to different mailids, please halp me out. Thanks in advance. (3 Replies)
Discussion started by: vpandey
3 Replies

9. UNIX for Dummies Questions & Answers

mail or mailx attachment

I have used the forum to determine the format required to send attachments from hp-ux 11. the problem I have is that using mailx does not attach the file, but subsititing mailx for mail on the command line attaches the file but i'm not able to specify a subject? The attachment has been convert... (3 Replies)
Discussion started by: brettmartin99
3 Replies

10. UNIX for Dummies Questions & Answers

Specify Mail server in mailx

Dear All, I am using HP-UNIX. I want to specify host in mailx command line. A -> B I am in Server A. And run a mailx command line to send mail to abc@xyz.com. But Server A don't know where xyz.com is. It needs to send this mail to Server B to help him to send mail to... (1 Reply)
Discussion started by: wilsonchan1000
1 Replies
Login or Register to Ask a Question