Hello,
I am using heirloom-mailx on UBUNTU 11.04 to create a bash script that sends an e-mail with an attachment.
The command invoked is :
The result is :
Then I have to wait ONE MINUTE before it appears the following:
Do you know why there is such a delay? How can I reduce the sending time?
It is not linked to the attached file, I have to wait also if it is not present.
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Hi,
I am using the mailx command to send email to multple users. The command works fine when i am sending mail to a single user but when i insert multiple email ids inside the quote it does not work. All the email ids are coming from a property file.Please have a lookt at the property file and... (4 Replies)
hi,
i am trying to send mail with attachment to web-based email client like gmail.com using mailx. the problem is it is displayed in content rather than as attachment.
the code i am using is as follows,
uuencode test1.txt test1.txt | mailx -s "test only" aaaa@gmail.com
does anyone... (1 Reply)
Im trying to use a shell script to send to a list of email addresses in a txt file. Here is what i have tried but it keeps sending to dead.letter...
Success.ksh contains...
mailx -s"Night Batch Success" 'cat /Scripts/email_addresses.txt' < /Scripts/email_body_message.txt
The email body... (1 Reply)
Hey Guys,
I have been trying to send a email as ccto a email ID .However it seems the -c option is not working in HP UX system.
It is shooting an error as "mailx: illegal option -- c"
My script isin the below manner:
mailx -c EMAIL_IDS_CC# -s 'BDC reminder' -r sender@email.com... (1 Reply)
Hi,
My requirement is I have to send email using mailx command and the recipient of the mail should see a alias instead of email address in his mail box. The same functionality that we get when we sent email using an address book. Is this functionality possible through mailx?
I tried doing... (5 Replies)
I would like to use Mailx command, please i hope when you replay give me example. because this is very good think for me.
I am New in sun Microsystems Solaris 10, i hope to give me also rules to learn Solaris easily.
Thank you
Joseph Shafik (8 Replies)
I am trying to send email using
"echo "Test Email" | mailx -s "Subject" someone@xyz.com
I also want to send CC to another email address along with TO using above statement.
Can anyone please help me on this.
Thanks. (2 Replies)
Hi,
I am trying to send email with attacment and body using "mailx"
(cat body.txt; uuencode attach.txt) | mailx -s "Attachment" abc@xyz.com
When i type this command, the shell is still waiting for me to enter something in standard input and press control D before it sends a mail and... (2 Replies)
Hi ,
I'm using sendmail command to send a email.
To send a email sendmail taking 3minutes to complete the process.
Is there any configuration needs to be done in server or another solution is there to resolve this issue.
Thanks in Advance.
Regards
Latika (1 Reply)
Discussion started by: latika
1 Replies
LEARN ABOUT X11R4
dmxgetwindowattributes
DMXGetWindowAttributes(3X)DMXGetWindowAttributes(3X)NAME
DMXGetWindowAttributes - determine back-end window attributes
SYNOPSIS
#include <X11/extensions/dmxext.h>
Bool DMXGetWindowAttributes(Display *dpy,
Window window,
int *screen_count,
int available_count,
DMXWindowAttributes *attr);
DESCRIPTION
When calling DMXGetWindowAttributes(), window specifies the window ID of a window on the Xdmx(1) server and available_count specifies the
length of attr.
The number of screens for which information is available will be returned in screen_count and information about those screen will be
returned in attr. If screen_count is less than available_count, then information for all of the screens will be returned. Otherwise,
information for the first available_count screens will be returned.
The DMXWindowAttributes structure is:
typedef struct {
int screen;
Window window;
XRectangle pos, vis;
} DMXWindowAttributes;
For each back-end X server that displays a portion of window, this structure contains the physical screen containing that portion, the win-
dow ID on the back-end X server of the window containing that portion, the position and dimensions of the window on the back-end (pos, in
screen coordinates), and the visible area of the window on the back-end (vis, in window-relative coordinates -- all zeros if the window is
not visible on the backend).
To obtain more information about the physical screen use the DMXGetScreenAttributes(3X) call.
Note that DMX allows multiple back-end windows to overlap in their view of the DMX logical window. Further, a logical window does not have
to be completely covered by back-end windows -- there may be gaps.
As an example, consider a 500x500 window that spans the top two 1024x768 back-end displays (A and B) of a 2048x1536 DMX display composed of
4 1024x768 back-end displays arranged in a cube:
A B
C D
In this case, the DMXGetWindowAttributes call would return the following information for the 500x500 window:
display A: 500x500 window at 1024-250,0 (relative to back end)
with 250x500 visible at 0,0 (relative to window origin)
display B: 500x500 window at -250,0 (relative to back end)
with 250x500 visible at 250,0 (relative to window origin)
display C: 500x500 window at 1024-250,-768 with 0x0 visible at 0,0
display D: 500x500 window at -250,-768 with 0x0 visible at 0,0
RETURN VALUE
DMXGetWindowAttributes() returns True unless there is a protocol error.
DMXGetWindowAttributes() can generate BadWindow and BadAlloc errors.
NOTES
Because this call transports a great deal of information over the wire, please call DMXGetScreenCount(3X) first, and make sure attr is suf-
ficiently large.
On a particular back-end server, it is possible that the associated window has not yet been mapped because the XMapWindow(3X) call that
will eventually map the window had been buffered by Xlib's normal buffering system. To avoid this race condition, please call DMXSync(3X)
before communicating directly with the back-end X server.
SEE ALSO DMXGetScreenCount(3X), DMXSync(3X), DMXGetScreenAttributes(3X), DMX(3X), Xdmx(1)X Version 11 libdmx 1.0.2 DMXGetWindowAttributes(3X)