Email with picture as an attachment

hi frnds
is it possible in j2me to send an email with attachment(picture)
if so give me some idea or code regarding the same
and if not help me with some work arround
alpesh

hi Mihai
I did this and it's displaying the msg (before converting into bytes)
and also after converting msg into bytes i tried (msg+"\r\n").getBytes() and it displaying bytes means it is not null
also If I am sending mails to gmail or yahoo it gives me the error:
SMTP server response -
220 dnsconsultant (IMail 7.15 2462-1) NT-ESMTP Server X1
250 hello dnsconsultant
250 ok
550 not local host gmail.com, not a gateway
503 No recipient(s).
502 unimplemented command
502 unimplemented command
502 unimplemented command
502 unimplemented command
502 unimplemented command
502 unimplemented command
221 Closing connection. Good bye.
so if I want to send mails to/from any (yahoo, gmail and etc...) e-mail addresses what will be the smtpServerAddress
and is there any other configuraton needed?
alpesh

Similar Messages

  • How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    Try email attachment workflow in Organizer. http://tv.adobe.com/watch/learn-photoshop-elements-9/sharing-your-images-via-email/
    Thanks
    Andaleeb

  • When I send an email with picture attachment it is received by my gmail account but not received by applel mail. What gives?

    Recently installed Mavericks. Now when I send an email with picture attachment it is received by my gmail account but not received by applel mail. What gives?

    Hi Bigt101,
    It will be great, if you can provide me with the following info.
    which Model printer are you using.
    Are you registered to the e-print center.
    What email client are you using.
    Thanks
    Josh.C
    Click on the BLUE KUDOS button on the left to say "Thanks"
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Can't send emails with pictures bigger than 8mb on iphone 4s

    Hi , I can not send email with pictures attached (3 or 4 pictures) higher than 8MB. I have an Iphone 4S

    Pictures usually size is 2 or 2.2MB each, when i try to send 4 at the same time the phone takes about 10 minutes or more to send it and finally a message in the sent folder shows "Can not send email" and thats it, if I reduce the size of the pictures sending again to ~5MB the email goes ok.

  • Can't send emails with picture attachments

    All of a sudden, I can't sent emails with picture attachments. I last tried this a few weeks ago and it worked, now it doesn't.
    I have tried a battery pull while the phone is on, registered on the network again and had the service books resent and nothing works.
    Anyone else have this problem or have any ideas of how to fix it?

    Can you please provide more information? Are you getting any error message when attaching or sending the pictures? Are you able to send other types of attachments? Is this happening for all email accounts on your BlackBerry?
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • I bought an unlocked iphone 4s and it is not sending messages or emails with pictures taken with it.  What do I have to do?

    How do I send messages and emails with pictures attached from my iphone 4 s?

    Contact your Carrier and check you MMS enabled on your Plan.

  • FILE- EMAIL with pdf as an attachment and message body.

    I have a scenario where FILE to EMAIL with PDF as an attachment; I also need to send to have Email body with some text. For this i have tried using Mail Package then i wont be receiving any attachment. If I use both Mail package + Keep attachments i do not see any attachments in mail.
    Let me know  the possible ways that can used in the current scenario where i need to send pdf attachment along with messsage body.
    Thanks in advance,
    nik

    Hi Nik
    To get the customized email body you need to use the Mail package. Keep attachments tab should be selected
    Now sending PDF attachment - Do you need to send data passed by File adapter as pdf attachment or File adapter is reading message other than this attachment.
    Case 1. File adapter send message that you need to send as email attachment. Then using mail package use
    <content_type>application/pdf</content_type>
    you can even add name of the file going as an attachment.
    <content_type>application/pdf;name="filename.pdf"</content_type>
    Secondly you can use the MessageTransformBean at communication channel as an additional standard module.
    Case2: You need to pick file from file adapter as attachment. that is possible only when you use NFS with this file you read as source and attachment has be of same name type eg: you read input.txt then attachment has to be input.pdf
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 7, 2008 5:46 AM

  • Can't delete email with a 9 mb attachment from iphone

    can't delete email with a 9 mb attachment from iphone(3gs, software v 4.3.1) -- every time i try to delete the email with a swipe it shows the red delete button on the right but then freezes for a while and then the delete button disappears but the email does not. when i go through edit function and mark it for deletion, the same thing occurs.
    any advice??

    No. The modem is an Arris obtained from Comcast on 6/9/2014 after the prior one failed.

  • Shell Script to send email with .txt file as attachment

    Dear Al,
    Could any one help me with code, for sending email with .txt file as attachment using shell script.
    Thank You!

    978334 wrote:
    Dear Al,
    Could any one help me with code, for sending email with .txt file as attachment using shell script.
    Thank You!http://bit.ly/XHfSCz
    https://forums.oracle.com/forums/search.jspa?threadID=&q=sendmail&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • When I send an email with a photoshop file attached, the recipient receives it "flattened". How do I change this?

    when I send an email with a photoshop file attached, the recipient receives it "flattened". How do I change this?

    I've sent psd files to various people without issues, however you might want to try something like www.filedropper.com to make sure it's not that they can't open your version of psd file.
    You may also want to zip the file using the built in archiving software, simply right click (or control click) the file and choose Compress ....,  then you can email it to the person as a compressed archive.  That should preserve all the aspects of the file properly without any modifications.

  • My yahoo email account is not accepting emails with picture attachments. The Internet provider says it is yahoo. Yahoo had nothing to offer.  Do I have to adjust settings on the iPad?

    My yahoo account is not accepting emails with picture attachments. Other wifi features are working. Other iPad and iPhone devises using this wireless router are accepting photo attachments. How do I have to configure my ipad2 to accept photo attachments on it?

    This did not help, thanks for the suggestion but my settings match this description on both devices and no result.

  • Why is gmail blocking me from sending email with a "pages" document attached?

    Why is gmail blocking me from sending email with a "pages" document attached? I've checked the document for viruses with "MacKeeper" and it's clean.

    Google reads your emails, in case you did not know that. Unless you are sending an email containing content Google can extract and add to its vast database of personal information, Google has no use for it.
    Google Mail is becoming progressively useless. It won't accept .zip attachments, at least not the last time I tried, it will eventually prevent you from using an email client unless you visit their web mail interface, and it will disable your account if you attempt to log in from someplace Google deems is not where Google thinks you ought to be.
    Gmail is worth every cent you paid.
    Get rid of MacKeeper. It is capable of doing nothing beneficial and will only cause problems.

  • Send email with picture in content

    We created a scenario in which we send an email with the mailpackage to a business partner. Now we want to have a picture (a logo) in the email body. Is it possible to send an image with the mailpackage? The body of the email contains html at the moment.

    hi,
    >>>> Is it possible to send an image with the mailpackage?
    yes this possible - you can include the java code in an adapter module
    but I don't know if you refere to this attachment from your e-mail message later on
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sending emails with both body and attachment to multiple recipients

    I have a requirement to send email with body and attachment to multiple recipients.
    Body of the email is a standard text. It is a proxy-to-mail scenario.
    Here is what I've done: (I'm using PI 7.11)
    One mapping from Source to Target structure (format of the attachment text file)
    Second mapping from Target Structure to Mail Package format.
    In the second mapping I'm concatenating the output of first step into "Content" of the Mail Package.
    "XIPAYLOAD" is the message protocol used.
    The "Keep attachments" option in the Mail adapter allows only to send "Content" as attachment or as body of the email.
    How to send an email with both content and text?
    The other problem is even with using ASMA, I can't send email to multiple recipients. I can only do CC and TO for 1 person each - a total of 2. Although I can resolve this by creating mailing lists, it is better if this can be addressed in PI.
    Thanks for any input you can provide!
    Edited by: crazylad on Jan 18, 2012 3:39 PM

    Thank you for your response Mikael.
    For the first question, I was able to find the solution in the following blog:
    XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF
    (I just needed to search with the right set of key words )
    The key is to set the "Content Encoding" as "None" in the mail adapter. If this is not done, the mail will be sent with an attachment - untitled.bin containing both the mail body and the attachment text. Also, don't forget to check the "Keep Attachments" checkbox in the mail adapter.
    Multiple recipients could be added by separating the email IDs with a Comma. I have used ASMA to set the recipients.

  • Use smart mailbox to find email with specific text in attached pdf

    Does anyone known if a smart mailbox can be created to find emails with specific text within a pdf attached document. I know that spotlight can do this and it works fine but it would suite me better to be able to do this in mail.

    After some digging, I found that Spotlight returns the pdf attachment (found within the library/mail/download folder), but not the actual email. The only time it returns the email is if the search text or numerics are coincidentally within the written contents or subject line.
    Yes, i have tried setting up smart mailbox search criteria using the entire message contents but this does not find emails where the text exist within the pdf.
    I've checked spotlight pref.'s and all categories are checked off.
    Essentally, i need the smartbox search criteria to return results where the search text is found within the pdf attachment if possible. If this is not possible, i'll continue using spotlight searches outside of mail.
    I appreciate any help you can offer.

Maybe you are looking for

  • Cannot copy file to iPod

    Hi All been trying to copy my library into my iPod (classic, 160gb) after it suddenly crashed and required system restoration. However, I keep getting the same problem, in which no further songs could be added after copying 600 songs or so. iTunes, k

  • Reader in Linux not scaling

    I'm using Adobe Reader 9.4.7 under Ubuntu Linux 10.10 at the command line to scale a PDF to 50%. It seems that Reader is ignoring the scaling commands and prints full size. Here is the command I'm using: acroread -toPostScript -scale 50 test.pdf and

  • Lead generation using CRM Survey

    How leads can be generated suing HTML Survey for external campaigs. What i mean here if campaigns are executed using external website and based on visit by customers on website if they fill in information , how that information can be captured and in

  • Cancel GI on a delivery

    Hi Guys Is it possible to cancel a GI on a delivery with 2 items and 1 of them are allready send, I have tried VL09 but this transaction vill reverse the whole document and I didn't have the option to choose only one item. It is not a WM relevant mat

  • Added records in DB are not show in page until start a new browser

    I am inserting a record in my DB table by writing a code in my App Module Impl class. The code is shown below: EntityDefImpl productDef = ActivitySubtype_EOImpl.getDefinitionObject(); ActivitySubtype_EOImpl newSubActivityType = (ActivitySubtype_EOImp