I would say create a PHP script for sending mail on your web server. Then
do an HTTP load of the script in the background.
On Sunday, September 16, 2012 6:24:19 AM UTC-5, mohammed Nuhail wrote:
>
> how to send email in background ?
>
--
You received this message because you are subscribed
If you didn't understand what he/she wanted, then why bother replying? The
usage of a service is not relevant to the stated problem.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@g
Не совсем понял, что ты именно хочешь. Чтобы тебе автоматически письмо
отсылалось по какому-то интервалу? Создай сервис, запусти в нём поток и по
таймеру хреначь. Или я не понял.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
> The email address that I pass via:
> sendIntent.putExtra(Intent.EXTRA_EMAIL, "theem...@comcast.net");
> is always ignored and so it has to be manually entered on each email.
>
> Any solution? Thanks in advance.
Try this :
private static final String YOURTO = "m...@medomain.com";
inten
On Aug 12, 2:13 am, DulcetTone wrote:
> You're right... I misstated that. I can send SMS messages using the
> SDK, but cannot send email.
> I find that incongruous, despite the fact that the email app in the
> open source contains some nicely crafted code to do just that.
Why do you find it in
You're right... I misstated that. I can send SMS messages using the
SDK, but cannot send email.
I find that incongruous, despite the fact that the email app in the
open source contains some nicely crafted code to do just that.
Is every app that is to send mail to reinvent a very intricate, heavy
Hi,
I want to receive Intent "android.intent.action.SEND" in a Service. Is it
possilbe to register for this Intent via registerReceiver() and get the
Intent in Broadcast receiver in the Service?
Or is there any restrictions that "android.intent.action.SEND" can only be
registered via Manifest.xml
Sorry for not responding earlier. This worked for me:
public static void sendFile(Context context) {
String emailPreference =
PreferenceManager.getDefaultSharedPreferences(context).getString("emailPreference",
"");
String subjectPreference =
PreferenceManager.getDefaultSha
Thanks for your help.
I want to write an application which will send email with an
attachment through GMail on Android.
But I don't have much time to study the basic of JavaMail.
So, I wonder is there any sample for me to get in quickly.
2010/4/14 Kumar Bibek
So, you want to learn how to create
@powder
Where should the setType() be placed then. I'm having difficulties
getting this to work.
Thanks in advance.
On Apr 7, 2:11 pm, powder wrote:
> Hi,
>
> Thanks so much Kumar!
>
> It turned out to be the placement of the line:
>
> sendIntent.setType("text/csv")
>
> Regards Jonas.
>
> On
Where should it be placed?
I also get size = 0 and then I get a error saying "file//: attachment
paths must point to file:///sdcard" Igonoring attachment file
On Apr 7, 11:11 pm, powder wrote:
> Hi,
>
> Thanks so much Kumar!
>
> It turned out to be the placement of the line:
>
> sendIntent.set
Hi,
Thanks so much Kumar!
It turned out to be the placement of the line:
sendIntent.setType("text/csv")
Regards Jonas.
On Apr 5, 2:43 pm, Kumar Bibek wrote:
> public static void sendFile(Context context) {
> File exportDir = new
> File(Environment.getExternalStorageDirectory
public static void sendFile(Context context) {
File exportDir = new
File(Environment.getExternalStorageDirectory(),
"mydir");
if (!exportDir.exists()) {
exportDir.mkdirs();
}
Str
I will try this and let you know.
Thanks and Regards,
Kumar Bibek
On Apr 2, 3:09 am, powder wrote:
> The logcat says:
>
> ...
> 04-01 18:33:06.230: INFO/ActivityManager(76): Starting activity:
> Intent { act=android.intent.action.SEND typ=text/csv flg=0x300
> cmp=com.google.android.gm/.Compo
The logcat says:
...
04-01 18:33:06.230: INFO/ActivityManager(76): Starting activity:
Intent { act=android.intent.action.SEND typ=text/csv flg=0x300
cmp=com.google.android.gm/.ComposeActivityGmail (has extras) }
04-01 18:33:06.290: INFO/ActivityManager(76): Starting activity:
Intent { act=and
Some logcat logs will be helpful in trying to figure out what went
wrong.
Thanks and Regards,
Kumar Bibek
On Apr 1, 2:10 pm, powder wrote:
> Hi,
>
> I never got this to work on a real device, got the email but no
> attachment, also when installing K9 on a emulator and
> then sending the email I
However I couldnt send an image attachment along with this.Reason is when
we remove awt dependecies awt .Toolkit which is needed to implement
jpeg/png mailcap also removed
Thanks
Isuru
On Mon, Sep 28, 2009 at 12:14 PM, Isuru danagalle wrote:
> I have done this.You need to remove awt dependecies
I have done this.You need to remove awt dependecies from java mail and build
the activation jar and mail jar manually.If you need the code and jar file
contact me.
Thanks
Isuru
On Wed, Sep 9, 2009 at 12:54 AM, Mark Murphy wrote:
>
> Jason Proctor wrote:
> >> Only if you include your own SMTP co
I've created so-far fully working version of javamail based on the
source code available in the glassfish repository and some awt class
from harmony.
I'm not sure of what i can do with the license of what i have used to
make it work but i've put all of this in a google code project :
http://code.g
You are trying to use classes that the Android platform simply doesn't
support (see the nice error message - in this case it's very
informative). In your case "javax.naming" from JNDI which is a core
class is not present, but regardless, not every java library runs or
is supported on Android (not
Jason Proctor wrote:
>> Only if you include your own SMTP code. ACTION_SEND will always prompt
>> the user, at least if they choose one of the built-in apps.
>
> did we ever get to the bottom of why JavaMail doesn't work on Android?
>
> some Dalvik translation problem IIRC
I haven't played with
Iroid wrote:
> Hello All,
> Can I send an email without invoking any activity (with Send/SendTo
> action)?
>
> Just compose a mail and send to recipient from my application.
>
> Appreciate your response.
Only if you include your own SMTP code. ACTION_SEND will always prompt
the user, at least i
same issue here...
On 23 juil, 15:29, Rmac wrote:
> Hello,
>
> I have been unable to send anemailvia an Intent where theemail
> contains HTML in the body. Theemailis created, but the HTML in the
> body shows as plain text instead of being rendered as HTML. I have
> found similar posts where ot
You can find the correct MIME type to send a text message here:
http://www.openintents.org/en/node/121
(scroll down for the sample code)
Peli
www.openintents.org
On Jun 24, 7:02 am, doubleminus wrote:
> Swathi,
>
> Did you ever figure this one out??
>
> Thanks,
> double
>
> On May 12, 1:40 am,
Swathi,
Did you ever figure this one out??
Thanks,
double
On May 12, 1:40 am, Swathi wrote:
> I have tried to sendemailfrom myapplication in emulator , with
> following code.
>
> Intent sendIntent = new Intent(Intent.ACTION_SEND);
> sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);
> sendIntent
Thanks Bill Napier
On Fri, Dec 5, 2008 at 3:53 AM, Bill Napier <[EMAIL PROTECTED]> wrote:
>
> Searching this forum for the term "send email" gave me this mail:
>
>
> http://groups.google.com/group/android-developers/browse_thread/thread/88bb36c676e3217b/c1d0be41174b4999?lnk=gst&q=sending+email#c1
Searching this forum for the term "send email" gave me this mail:
http://groups.google.com/group/android-developers/browse_thread/thread/88bb36c676e3217b/c1d0be41174b4999?lnk=gst&q=sending+email#c1d0be41174b4999
Which has some example code that you could use.
On Thu, Dec 4, 2008 at 10:51 AM, di
Did you set he MIME type in your Intent?
Cheers,
Justin
Android Team @ Google
On Nov 14, 7:03 am, dave <[EMAIL PROTECTED]> wrote:
> I tried out k9mail on the emulator and I get the same error message
> when I try to send an email from my application. has anyone gotten
> this to work?
>
> On Nov
I tried out k9mail on the emulator and I get the same error message
when I try to send an email from my application. has anyone gotten
this to work?
On Nov 4, 12:39 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Yes, you should be able to install the Email program's APK on the
> emul
Yes, you should be able to install the Email program's APK on the
emulator. You could download the Android source and compile Email and
then install on the emulator. Alternately I know there is a project
that has forked (but will hopefully merge back their changes) the
email client and there is a
Haha! Yes, it only works on the phone. Sorry for the mixup, I can be
pretty absent minded at times.
On Nov 3, 4:42 pm, Daniel Bradby <[EMAIL PROTECTED]> wrote:
> I'm assuming you meant to say it only works on the phone, not the
> emulator :)
>
> On 04/11/2008, at 1:13 AM, john <[EMAIL PROTECTED
I'm assuming you meant to say it only works on the phone, not the
emulator :)
On 04/11/2008, at 1:13 AM, john <[EMAIL PROTECTED]> wrote:
>
> Unfortunately yes, this only seems to work on the emulator. We had to
> break down and buy a G1 (as well as a two-year plan) so we could
> realisticall
Unfortunately yes, this only seems to work on the emulator. We had to
break down and buy a G1 (as well as a two-year plan) so we could
realistically get our software tested and released. It would be
interesting, though, to see if you could install the email program on
the emulator. If you do, you
John - I'm assuming this only works on the real device and not the
emulator?
I'm trying
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "email text");
sendIntent.putExtra(Intent.EXT
Hey, that did it! I set the the mime type to 'message/rfc822' and it
worked right away. Brings up the default mail application with the
fields that I specified populated.
I had been trying to send it with a mime of text/plain and text/html.
I thought that by specifying an EXTRA_EMAIL it would fir
John,
Take a look at
http://code.google.com/android/reference/android/content/Intent.html ,
there are several e-mail related fields you probably want to set. For a
mime type try 'message/rfc822' or 'message/rfc2822'. I haven't tried this
myself, so let me know how it works.
Cheers,
Justin
Androi
36 matches
Mail list logo