 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Arvind Guest
|
Posted: Mon Jul 26, 2004 9:04 pm Post subject: pager email addresses |
|
|
Hi,
I have developed a email sending program using the
javax.mail.internet package. I inherit from the MimeMessage class to
develop my wrapper which handles the email text body. It works
successfully for email addresses like 'joe (AT) hotmail (DOT) com or
[email]smith (AT) yahoo (DOT) com[/email]'. BUT it does not work for pager emails ie, if i have
a pager number like 8473193276 its (corresponding mail address is
[email]8473193276 (AT) paging (DOT) acswireless.com[/email]') it does not send the text to my
pager.
Though i get a message from my source email , the 'text' matter or
the message does not appear. Could anybody tell me why could this
happen? I do not think its a code problem, becos i am able to log the
text until the last step when it is passed to the MimeMessage object &
DataHandler Object etc...
I have a few related questions. Does it happen because pager text
cannot be handled by a MimeMessage (which is part of
javax.mail.internet package). Is a pager email address not a internet
email address?
Please throw light on my confused head!!
Thanks
Arvind!
|
|
| Back to top |
|
 |
FISH Guest
|
Posted: Wed Jul 28, 2004 11:44 am Post subject: Re: pager email addresses |
|
|
[email]as9213 (AT) sbc (DOT) com[/email] (Arvind) wrote in message news:<394b1574.0407261304.afca416 (AT) posting (DOT) google.com>...
| Quote: | Hi,
I have developed a email sending program using the
javax.mail.internet package. I inherit from the MimeMessage class to
develop my wrapper which handles the email text body. It works
successfully for email addresses like 'joe (AT) hotmail (DOT) com or
[email]smith (AT) yahoo (DOT) com[/email]'. BUT it does not work for pager emails ie, if i have
a pager number like 8473193276 its (corresponding mail address is
[email]8473193276 (AT) paging (DOT) acswireless.com[/email]') it does not send the text to my
pager.
[snipped...] |
Firstly, try sending email by hand to the pager's email address and
see it that gets through. If it does, then you need to figure out
what the difference is between the email you are sending 'by hand'
and the email which is being sent from your Java code.
Be aware that email is quite an old technology, and extensions have
been added to the specification to allow for things like multi-part
messages and binary attachments (like images). These use MIME to
denote parts of the message, and it is entirely possible that the
'gateway' server which translates your email onto the pager network
can only handle plain text message bodies. Your English is a little
hard to understand in parts, but it sounds like you are suggesting
that the header of the mail gets through to the page, but the body is
missing - this would be consistant with the gateway not understanding
the MIME format of the body.
Try sending 'by hand' messages which use MIME encoding, and see if
they work. If they don't, then the most obvious conclusion is to
restrict your messages to plain text. If they do, then there is
obviously something specific about the MIME messages put out by your
Java code which is making the gateway bork!
-FISH- ><>
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|