Sending an e-mail with Nokia Messaging from Yahoo!...

Hello,
I tried to send an e-mail and gives me this:
Subject: Delivery Status Notification (Failure)
From:Mail Delivery Subsystem <noreply@noreply>
To: "dilixxx.xxxai at yahoo.com" <dilixxx.xxxai at yahoo.com>
This is an automatically generated Delivery Status Notification
500:Read error: null
  ----- Original message -----
Date: Mon, 22 Feb 2010 14:57:27 +0000
From: "Dilimot Mihai" <dilixxx.xxhai at yahoo.com>
Subject: Test
To: Dilixxx.xxhai at orangemail.ro
Reply-To: dilixxx.xxhai at yahoo.com
MIME-Version: 1.0
X-Priority: 3
Content-Type: text/plain;
    charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-NIMS-Source: netac30.vie.hosting.nokia.com
X-NIMS-User: dilixxx.xxhai831
X-NIMS-UGUID: 0xa1fbe420e5dc2dbb1698335ab79f4914
Test
  ----- End of message -----
Any ideas?
Details: Nokia E75
Best regards,
Mihai Dilimot:
P.S.: The header was slightly modified to obfuscate my e-mail. Still simple to guess if you're not a bot.
Solved!
Go to Solution.

Hi,
Well, you have three choices:
The first one is provided in the Nokia Messaging FAQ (http://email.nokia.com/account/faq.action):
I get a 'This is an automatically generated Delivery Status Notification 500: Failure' error when sending an email. What does this mean?
In rare cases, Nokia Messaging cannot send emails because your email provider's SMTP server settings are incorrectly configured, or because your email provider will not allow Nokia Messaging to send email through their server. If you are receiving this error, log into your account at email.nokia.com, select Edit Settings on the account that is receiving error, select Change Server Settings and remove the information in Outgoing mail server and Outgoing server port and uncheck SSL Required for outgoing mailserver, and select Save. This will cause your emails to be sent through the Nokia Messaging server and should resolve the problem.
The second one is to change the SMTP server. (source:http://en.wikipedia.org/wiki/Yahoo!_Mail#Free_IMAP_and_SMTPs_access)
In addition it is also possible to send mail through mail clients as yahoo also operates an SMTP server (smtp.mail.yahoo.com). It is necessary to enable SSL through port 465.
The third one (the one it worked for me) is to wait. I didn't do any changes to my email client from my phone and it worked after some time, so I assumed it was server related. (Either Yahoo! or Nokia Messaging servers)
Currently, I'm a Yahoo! Mail Plus subscriber. (POP3/SMTP access through dedicated servers; 20 $ / Year). If you're a heavy sender, I would recommend this instead of Nokia Messaging servers.
I do hope this answers your problem.
Best regards,
Dilimot Mihai

Similar Messages

  • Am trying to send an e mail with an attachment from i works I can't find it to attach I saved it where is it?

    Am trying to send an e mail with an attachment from i works.  I can't find the document I wrote.  Where is it?

    emmazell33 wrote:
    Am trying to send an e mail with an attachment from i works.  I can't find the document I wrote.  Where is it?
    Wherever you saved it. Likely, Documents folder.

  • Mac Mail deleted inbox messages from yahoo mail, how to get them back?

    I recently started using the Mac Mail client with my yahoo-plus email account.
    What Mac Mail did was delete ALL inbox messages from my yahoo account, after one week from importing them to Mac Mail.
    The inbox messages can still be found in the Mac Mail inbox, but not in yahoo's inbox.
    I was wondering if there is a way to retrieve these deleted messages back to my yahoo inbox.
    Also, I was wondering about the sync feature on the Mac Mail and what will actually happen if I use it. Does it apply to mail messages, or to address book and calendar entries?
    I would appreciate you help on this issue.

    dechamp wrote:
    What Mac Mail did was delete ALL inbox messages from my yahoo account, after one week from importing them to Mac Mail.
    The Yahoo server did exactly what you Mail program told it to do.
    Mail/Preferences/Account/Advanced - This setting is adjustable for each mail account.
    I didn't know about this feature until it was too late. I have already unchecked it for future emails.
    I was wondering if there is a way to retrieve these deleted messages back to my yahoo inbox.
    Not Really, you could forward them to your account, after you've told your mail program not to delete the emails at all, but they will show up as being from you instead of the original sender. The originals at Yahoo have been dumped and probably purged. It would take an IT manager at Yahoo to manually replace the emails, not much chance of that.
    I've already asked yahoo to "restore" my inbox to a day ago. That should help me with retrieving some of the messages back, I hope.
    Also, I was wondering about the sync feature on the Mac Mail and what will actually happen if I use it. Does it apply to mail messages, or to address book and calendar entries?
    The sync feature refers to IMAP email accounts like .Mac or .Me or an Imap gmail account. I didn't think Yahoo offered IMAP email accounts.
    Apple's MobileMe membership will let you sync your Mail, AddressBook, Calender, personal website with iWeb, etc.
    "MobileMe is a service that pushes new email, contacts, and calendar events over the air to all your devices. So your iPhone, Mac, and PC stay in perfect sync."
    http://www.apple.com/mobileme/
    I wanted to use Mac Mail, see if I liked it or not, then decide to get a MobileMe account. However, this is still a side note, since my yahoo account is my main email client.
    You seem to be very well informed, and I was wondering if I can ask you to clarify a point for me. Do you know how to archive the inbox in the Mac Mail?
    And thank you for answering my queries.

  • Sending an E-mail with attachment with PHP from Flex

    Hey,
    I've made a custom compontent wich mails your own drawings to you. But I have a problem to send an e-mail with attachment.
    I use the HttpService to send the data to the php-file, but I always get the Fault message (form phpFault()).
    This is my code in Flex:
    <mx:Script>
        <![CDATA[
            import mx.rpc.events.FaultEvent;
            import mx.rpc.events.ResultEvent;
            import mx.graphics.codec.PNGEncoder;
            import mx.events.ValidationResultEvent;
            import mx.controls.Alert;
            [Bindable]
            private var byteArray:ByteArray;
            private function mailImage(comp:DisplayObject):void
                var emailValidation:ValidationResultEvent = validEmail.validate();
                if(emailValidation.type == ValidationResultEvent.INVALID)
                    Alert.show("Invalid E-mail");
                else
                    var bitmapData:BitmapData = new BitmapData(comp.width, comp.height);
                    bitmapData.draw(comp);
                    var png:PNGEncoder = new PNGEncoder();
                    byteArray = png.encode(bitmapData);
                    httpMail.send();
            private function phpResult(evt:ResultEvent):void
                Alert.show("You've got mail.");
            private function phpFault(evt:FaultEvent):void
                Alert.show("Something went wrong. /n" + evt.message.toString());
        ]]>
    </mx:Script>
    <mx:EmailValidator id="validEmail" source="{ipEmail}" property="text"/>
    <mx:HTTPService id="httpMail" url="php/byte-receiver.php" method="POST" result="phpResult(event)" fault="phpFault(event)">
        <mx:request>
            <img>{byteArray}</img>
            <mail>{ipEmail.text}</mail>
        </mx:request>
    </mx:HTTPService>
    <mx:Label text="draw your own image" styleName="h1" x="10" y="0" width="493" height="60"/>
    <mx:Canvas
        id="drawCanvas"
        x="10" y="77"
        width="561" height="245"
        borderStyle="solid" borderColor="#A6A6A6">
    </mx:Canvas>
    <mx:Label x="10" y="329" text="Your e-mail:" styleName="text"/>
    <mx:TextInput
        id="ipEmail"
        x="86" y="324" width="417"/>   
    <mx:Label
        id="lblMailImage"
        x="10" y="383"
        text="Mail my image"
        click="mailImage(drawCanvas)"
        mouseOver="lblMailImage.setStyle('color',  '#00067b')"
        mouseOut="lblMailImage.setStyle('color',  '#717171')"
        styleName="button"/>
    </mx:Canvas>
    This is my PHP code
    <?php                 
    $fileatt_type = "application/octet-stream"; // File Type
    $fileatt_name = "ImgContact.png"; // Filename that will be used for the file as the attachment
    $email_from = "[email protected]"; //Who the email is from
    $email_subject = "Contact Winckelmans.net"; // The Subject of the email
    $email_message = "Mail send by winckelmans.net. Your drawing is in the attachment"; // Message that the email has in it
    $email_to = $_POST['mail']; // Who the email is too
    $headers = "From: $email_from";  
    $data= $_POST['img'];
    $semi_rand = md5(time());  
    $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";  
    $headers .= "\nMIME-Version: 1.0\n" .  
                "Content-Type: multipart/mixed;\n" .  
                " boundary=\"{$mime_boundary}\"";  
    $email_message = "This is a multi-part message in MIME format.\n\n" .  
                    "--{$mime_boundary}\n" .  
                    "Content-Type:text/html; charset=\"iso-8859-1\"\n" .  
                   "Content-Transfer-Encoding: 7bit\n\n" .  
    $email_message . "\n\n";  
    $email_message .= "--{$mime_boundary}\n" .  
                      "Content-Type: {$fileatt_type};\n" .  
                      " name=\"{$fileatt_name}\"\n" .  
                      //"Content-Disposition: attachment;\n" .
                      //" filename=\"{$fileatt_name}\"\n" .
                      "Content-Transfer-Encoding: base64\n\n" .  
                     $data . "\n\n" .  
                      "--{$mime_boundary}--\n";  
    $mailsend = mail($email_to, $email_subject, $email_message, $headers);  
    echo $mailsend;
    ?>
    This is the error I get in an Alert:
    (mx.messaging.messages::ErrorMessage)#0
      body = ""
      clientId = "DirectHTTPChannel0"
      correlationId = "F3C16CE1-65CF-E690-1907-D28293FD6BB9"
      destination = ""
      extendedData = (null)
      faultCode = "Server.Error.Request"
      faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: php/byte-receiver.php"]. URL: php/byte-receiver.php"
      faultString = "HTTP request error"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "7A1DCDBE-0358-7E39-3AF8-D282945A7748"
      rootCause = (flash.events::IOErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = ""
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2032: Stream Error. URL: php/byte-receiver.php"
        type = "ioError"
      timestamp = 0
      timeToLive = 0
    Thanks in advance
    Vincent

    Hi
    I'm having the same issue, except my application actually sends the email but the attachment is 0 octet and it doesn't even give me an error... Any chance you found a solution for this and could share it ?
    Thanks

  • How to send a mail with HTML body from Oracle

    Hi Team,
    Can somebody guide me how to send a mail with HTML body from oracle.
    Here is the piece of code i am trying to send a mail.
    procedure SEND_MAIL is
    cursor c_1 is select * from table_name;
    l_mail_id varchar2(40);
    -- ls_mailhost VARCHAR2(64) := Mailhost;
    ls_from VARCHAR2(64) := ‘[email protected]
    ls_subject VARCHAR2(200);
    ls_to VARCHAR2(64);
    l_mail_conn UTL_SMTP.connection;
    ls_left_menu_name VARCHAR2(64);
    ll_emp_num number(8);
    begin
    for i in c_1 loop
    begin
    l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
    UTL_SMTP.HELO(l_mail_conn, 'IP');
    UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
    UTL_SMTP.RCPT(L_mail_conn, LS_TO);
    UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
    'To: ' ||ls_to || utl_tcp.crlf ||
    'Subject: ' ||ls_subject|| utl_tcp.crlf);
    UTL_SMTP.QUIT(l_mail_conn);
    exception
    when no_data_found then
    null;
    when others then
    RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
    end;
    end loop;
    end;
    Thnx

    Hi Nicolas!
    Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
    If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
    SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
    Hope this helps!
    Regards
    Geir

  • Send a mail with a picture from mime repository

    Hello,
    I want to send a mail with a picture from mime repository.
    The mail is sended OK, but the receiver hasn't  the picture on the mail  (don't find the picture).
    Here is my syntax :
       st_objtxt-line = '<IMG SRC="SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" ALIGN=RIGHT WIDTH="100" HEIGHT="80">'.
        append st_objtxt to t_objtxt.
    "SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" is url of my object mime .
    Have you a idea to resolve this problem ? It's the syntax OK ?
    Thank for your responses.
    Regards.
    JCAIL

    Have you tried storing your picture as a business document?  Have a look at the class  cl_bds_document_set to read your picture from the BDS.

  • When sending an e-mail with a small attachment, I receive an error "qq#4.3.0 please check message and send again. I can't send the message

    When trying to send an e-mail with small attachment, I get the error message qq#4.3.0 and the message fails.

    Pop or IMAP mail account?
    What version of Thunderbird?
    First try this just in case this a Sent folder issue. Right click on 'Sent' Folder and choose 'Properties' then click on 'Repair Folder', click on OK.
    Close and reopen Thunderbird.
    This will make sure the indexing is correct.
    Try Archiving emails in the Sent folder (Ctrl+A will highlight all Sent emails and display them as conversation - click on 'Archive ' button) and then right click on Sent folder and choose Compact.
    This will get all the old emails into an Archive folder and compact will remove any traces of old deleted sent mail, thus freeing up space.
    It could also be an issue at the server end.

  • TS3276 When I try sending emails through Mail with my iCloud account, it says "Unable to Sign Message"

    I cannot send messgaes through Mail with my iCloud account. Whenever I try sending them, it tells me "Unable to sign message".
    Does anybody know how to fix it?

    Check if you have set the correct language and country in your Apple TV. Maybe you are trying to connect to the wrong iTunes store.

  • Cannot receive mail in nokia messaging for Nokia ...

    cannot received mail in nokia messaging in all my account i can send mail but cannot  received mails in my nokia e72.

    Hi barara,
    Welcome to the Nokia forum and thank you for your post. 
    Please go to your email settings in your phone and make sure that the POP3 settings are configured correctly. Use a search engine to find the correct configuration for your email server. 
    If the email configuration is correct and you're unable to receive emails, please contact your local Care line and ask them to check your Nokia Messaging account.
    Every email account you set up on your phone is linked to your own Nokia Messaging account. Your Care line will be able to check the account and assist you with any issues you're having in case the above hasn't resolved the problem. All you need is your IMEI, which you can find by entering *#06# into your phone. 
    Hope this helps, please keep me updated on your progress.
    Iris9290
    If my post has helped you in any way, please accept it as a solution or click on the white star, so that other users will be able to benefit from it too.

  • Customer Experince with nokia N76 from may 2007 ti...

    Customer Experince with nokia !!!!
    today 20-09/2008 and still under progress!!!!!
    they wait till my warrenty end to reply to my problem...
    this just simple of emails i have the rest.....
    Till now more than 20 day's investagtion?what a careline ur just lazy and careless line but promise u will have a very big problem.bye
    @nokia.com wrote:
    > Dear Samir,
    > Thank you for emailing Nokia Careline.
    > With regarding to your inquiry kindly note that I did check the case again for you and it is still under process and once we got any new feedbacks be sure that we will come back to you, we are so sorry for being late.
    > Should you require any further assistance, please do not hesitate to contact the Nokia Careline and speak to any of our Customer Service Executives on 19876, between the hours of 9am and 8pm (local time), Saturdays to Thursdays. For online assistance, please visit http://www.nokia.com/mea/contactus.
    > Register with Nokia Connections and you will receive a bimonthly fun newsletter about the latest products and events. Click below to register.
    > http://www.nokia.com/mea/nokiaconnections
    > Kind regards,
    > Nokia Careline
    > Nokia Middle East & Africa
    >
    > [THREAD ID:2-48X8FP]
    > -----Original Message-----
    > From: @yahoo.com
    > Sent: 28/03/2008 04:46:14
    > To:
    > Subject: Nokia Careline - Samir Khalil - Nokia N76
    > Dear Mr. *****,
    > from you sent case no. 2-262950130 u told me 48hrs and
    > i will have reply till now 10 days no one from your
    > team call me or told me anything about my complaont is
    > it Nokia cant find any answer or what? u will
    > investigate forever and ur careline number in Egypt
    > doesnt work its give Error which means NO nokia at all
    > in Egypt so plz dont send ur customer service in ur
    > emails its just Fake number not working number i hope
    > if u in egypt to try it by yourself.
    > i will print all emails about my case today and all
    > paper's related to my esclate and insurance and the
    > warranty and will wait Last 48hrs am sorry i will take
    > legal action to nokia Egypt & middle east,hope to
    > contact me with final result not to wait anymore not
    > accepted by any mean.
    > ***This msg. to Mr.
    > Samir Maher
    > EGYPT
    Dear Samir,
    Thank you for emailing Nokia Careline.
    With regards to your enquiry, kindly be informed that your case is still under investigation and a resolution is expected shortly. Rest assured, your case has not gone forgotten and we will revert as soon as a resolution is achieved.
    Should you require any further assistance, please do not hesitate to contact the Nokia Careline and speak to any of our Customer Service Executives on 19876, between the hours of 9am and 8pm (local time), Saturdays to Thursdays. For online assistance, please visit ‘ASK Nokia’ at our website www.nokia.com.
    Register with Nokia Connections and you will receive a bimonthly fun newsletter about the latest products and events. Click below to register.
    http://mea.nokia.com/A4211102
    Kind regards,
    Nokia Careline
    Nokia Middle East & Africa
    [THREAD ID:2-48X8FP]
    -----Original Message-----
    From: @yahoo.com
    Sent: 20/03/2008 06:12:29
    To:
    Subject: complian is done
    Dear ,
    48hrs passed and nothing happen no one come back tome
    with any feedback frpm complain department actualy its
    72hrs my case no. 2-262950130 for nokia n76.
    that's the maximum respect you show to you customer's?
    am asked lot's to call me or your manager to call me
    samir or the resposible to this
    department call me and nothing happen.
    Dear Samir,
    Thank you for emailing Nokia Careline.
    Thanks you for your cooperation, I do appreciate that
    and I did a
    complain for you and here is the Service Requisite
    for you complain:
    2-262950130. our complain department will come back
    to you within maximum 48
    Hours.
    Should you require any further assistance, please do
    not hesitate to
    contact the Nokia Careline and speak to any of our
    Customer Service
    Executives on 19876, between the hours of 9am and 8pm
    (local time),
    Saturdays to Thursdays. For online assistance, please
    visit
    http://www.nokia.com/mea/contactus.
    Register with Nokia Connections and you will receive a
    bimonthly fun
    newsletter about the latest products and events.
    Click below to register.
    http://www.nokia.com/mea/nokiaconnections
    Kind regards,
    Nokia Careline
    Nokia Middle East & Africa
    [THREAD ID:2-48X8FP]
    -----Original Message-----
    From: @yahoo.com
    Sent: 16/03/2008 23:46:13
    To:
    Subject: Advice about your complian
    Dear ,
    this 2nd time i send this information in 3 weeks :
    Nokia N76:
    1. Job Order Number./1526584 & 1537749
    2. Authorized Service Center./Raya
    3. your full name and your phone number./Samir Maher
    Khalil-
    4. issues./1. Camera with very bad Quality &
    resultion. 2.Voice incoming calls&outgoing calls. 3.
    Material of the mobile its very very bad & not safty
    for humane being for use it.. 4. Its restart suddenly
    wizout any reason manytimes on daily basis .
    5.Software not helpful at all very completcated & have
    errors cant be able to download any new proudcts.
    6.low or NO at all performence battery there no
    battery u can say so empty every 12hrs maybe less
    maybe more deping. 7.Handfree with errors in the
    cable. 8.sms date not accurate with local time .
    9.high price with no need 3650 LE in 25/05/2007.
    my mobile after this date sent to Raya to fix it
    twice everytime not less than week with very bad
    customer service attuide which bad experince for
    customer nokia(could u plz visit any of them as
    mystery shopper)let's feel as customer,after all they
    changed for me the battery & handfree & sent my mobile
    again for the same problem's till now suffring from
    this mobile while my job at Mobinil which means
    Egyptian mobile opertator,i think now u got it how
    much my mobile important in my life & my work.please i
    need a help from Nokia i have been esclated from 3
    weeks and till now u didnt solve anything 4 me or even
    give me any helpful feedback.waiting ur feedback plz
    offer me solve for every problem from those and
    clairfy with details in ur email ok.
    5. faulty.
    6. Serial Number./
    7. Date of purchase./ 25-05-2007
    8. Date of send to repair./1st. time : 16/06/2007 &
    2nd. time: 19/06/2007
    9. Person name that you did contact with./sure can't
    remmber but i contact with Raya- Mesadak shop manager.
    ****Case no. : 2-258561699
    ***I will wait call from you
    Thanks
    Samir
    Mpderator note: personal information removed. It is unwise to publish personal contact information and unique serial numbers on the internet.
    Message Edited by michaels on 20-Sep-2008 03:25 PM

    The issue of firmware on operator-variant models is a common sore point on these boards.
    Unfortunately, Nokia's hands are tied. The operators have to approve new versions of the software before they can be applied to any phone sold to them by Nokia as their own variant.
    You will probably find that the operators' customer service staff are trained only to give advice on network services, if you want answers on issues other than that you need to locate the operator's head office and pester them. If you are a contract customer, that address should appear on your bill.

  • When i send an e-mail with attachments to one of my contacts, they says they did not receive.

    When I send an e-mail with a pdf attachment, my boss says she did not receive it. My SENT folder indicates that the e-mail and attachments were sent. I have not received an error message and I have checked the e-mail address 6 times. My bosses' e-mail address is in my contacts.
    No one else is complaining about this.

    search google for "iphone remove picture from contact"

  • Send an e-mail with an attachment

    Hi all,
    The requirement is to send an e-mail with an attachment containing sales cycle information. The mail-ids will be got from the distribution list mentioned on the selection screen.
    I have to add a select-option with no intervals so that it can accept the distribution list. I also have to check the distribution list for its validity.
    How do I go about it?
    Please help.
    Thanks and regards,
    Anishur

    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • E75 reports (no messages) with Nokia Messaging Gma...

    I signed up for an account a http://email.nokia.com, went through the processed, and received the installation message fine on my phone. The account appeared to have set up correctly. I entered my email, accessed the account, it asked me for my password, I entered it, and it connected without reporting an error. However, after connecting, the account reported (no messages) when there are actually several messages in my inbox all newer than 3 days. I can access the account fine if I set it up using the phone's built in software, but I would really like to utilize push email. Does anyone have any suggestions as to what could be causing this issue?

    Here's the deal. Like many of you, I have faced the exact same problems with Nokia Messaging on the E75. You can send emails but cannot receive them. The phone, the connection and the synchronization seems all fine with the green ring attempting to fetch from nokia servers but resulting in zero emails.
    Well, I have more or less narrowed down the cause of the problem if by chance you have not noticed it is none other then - NOKIA MESSAGING!!!!
    When ever you sign-up for a new account it is set up in one of many Nokia servers. Mine is "netac12.vie.hosting.nokia.com" you can find the server info on your phone. It could be that these new servers are not configured properly to work with some of our phones in particular, the E75. Other possibilities may be that the integrated Nokia Messaging software in the phone may be having some problems in communicating with the nokia server. Which ever way you look it just comes down to software problems.
    As of now, I don't believe Nokia has a solution but am sure they are aware of the situation. As much as Nokia may not acknowledge certain problems with its products or services but trust me they are aware... or maybe just giving a "blind eye" so to speak for the time being..
    One may ask how sure I am if it is not the hardware of the phone or my WiFi/GPRS connection that is at fault and with that, I ask of you to try the following experiment.
    Download emoze (www.emoze.com) on to your phone to be 100% sure that your phone and connection is in good working order. It is a freeware Push eMail service with certain limitations of course. You may choose to remove it completely, if you don't like it but for the benefit of the test and also that it is FREE just bare with its dry interface.
    After when you have installed emoze onto your phone you will realize.. SUDDENLY.. you are able to send and receive YES, RECEIVE emails almost instantaneously! To be sure that Nokia Messaging is indeed running foul I let both emoze and Nokia Messaging run on my phone in the background and send myself an email via my PC. Emoze as clockwork, without fail, gets me the email within a minute - most of the time within 15 seconds. Whereas, Nokia Messaging, as I may add, is a very moody service. It will choose when to deliver if at all and when not to at its own BLOODY will !!!
    Please excuse my language, just like many of you I am very disappointed and that to have call Nokia Care Line on several occasions and only to be told that no one else seems to be facing this problem and they make me go through the damn settings over-and-over again. If there is a fault, please rectify and not hide behind your virtual bush.
    I sure hope, that Nokia will start taking ownership of its product issues and give us an update or some form of acknowledgement that it is looking into our concerns. Responsible companies will definitely demand a whole lot of customer respect. Take for example Microsoft. From time-to-time its software and products will run into venerability issues and Microsoft acknowledges these issues, customers concerns and releases a patch to fix the problem. Likewise, I hope Nokia will follow suit.
    I have been a Nokia cell phone supporter for over 15 years. I am seriously, considering a swap to a BlackBerry once my contract expires with my service provider. Nokia please do your due diligence.

  • How can I set the language when sending an e-mail with attachment - 'Html'?

    "Character Broken"
    I made an ALV program, and this convert to "HTML',  and send an e-mail with this.
    Used Process is:
    DATA: gt_abaplist LIKE TABLE OF abaplist,
          gt_html LIKE TABLE OF w3html,
          doc_chng LIKE sodocchgi1,
          objpack LIKE TABLE OF sopcklsti1 WITH HEADER LINE,
          objhead LIKE TABLE OF solisti1 WITH HEADER LINE,
          mail LIKE TABLE OF solisti1 WITH HEADER LINE,
          reclist LIKE TABLE OF somlreci1 WITH HEADER LINE,
          lv_line TYPE i.
    DELETE FROM MEMORY ID '%_LIST'.
    SUBMIT z_template
       AND RETURN EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = gt_abaplist
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
      TABLES
        html       = gt_html
        listobject = gt_abaplist.
    doc_chng-obj_name   = 'URGENT'.
    doc_chng-sensitivty = 'O'.
    doc_chng-obj_descr  = ' '.
    doc_chng-obj_langu  = '3'.
    objhead-line        = ' '.
    APPEND objhead.
    mail[] = gt_html[].
    DESCRIBE TABLE mail LINES lv_line.
    CLEAR: objpack.
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = lv_line.
    objpack-doc_type   = 'htm'.
    objpack-obj_descr  = ' '. 
    objpack-doc_size   = lv_line * 255.
    objpack-obj_langu = '3'.
    APPEND objpack.
    CLEAR: reclist.
    reclist-receiver = 'e-mail address'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = doc_chng 
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = objpack
        object_header              = objhead
        contents_bin               = mail
        receivers                  = reclist
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    SUBMIT rsconn01 AND RETURN.
    I want to show  this by "Japanese".
    But the character is broken.
    LIke This:
    u01D1u072C          u0205|            u0205u072C          u0508           QC u04B90m
    How can I set the language?  How can I solve "Charancter Broken" ?
    Plesse, let me know.
    Thank you so much.
    Edited by: Jaime White 999 on Nov 21, 2011 8:45 AM
    Edited by: Jaime White 999 on Nov 21, 2011 8:46 AM

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

Maybe you are looking for

  • Error while downloading Contacts from R/3 to CRM system

    Hi All, I am trying to download Contacts from R/3 to CRM system. Through Initial Download. For this i have set filters through Tcode: R3AC1 as on KNVP and KNVV for the field VKORG. As we have our requirement to download contacts based on or different

  • Features of NWDS 7.1 EHP 1 Version

    Hi all, I am newly working in nwds 7.1 ehp 1 version... can anybody send me what are the new features available in this and advantages... I tried in SDN but i didn't get the full thanks, viswa

  • Form layout issue

    Hi, I have to modify the Form layout of an existing application (Application Express 4.0.2.) where the data for each field is retrieved using SQL statements Presently the form looks something like this and the Data for each field is rendered properly

  • How to pass idoc parameters in a validation script? (10gR3 site studio)

    Obviously idoc won't work in the actual validation script, so I'd like to use it to generate the parameters to pass to a custom function. If I add <!--$siteId--> as a parameter in design mode, it'll be added as: &lt;!--$siteId--&gt; which doesn't wor

  • Lumia 620's glove-friendly touch?

    According to Nokia's website (in Holland) Lumia 620 is supposed to be glove-friendly: http://www.nokia.com/nl-nl/producten/telefoon/lumia620/ So far, my Lumia 620 does not seem to have this capability. How is this possible? It was one of the reasons