Send postmaster mails to BLACK HOLE

Hi,
Is there anyway I can send postmaster mails to black hole ( /dev/null )
I know that people will ask why I want to send postmaster mails to /dev/null. But this is the requirement.
Cheers
Rakesh Malik

Why not just turm 'em off?
add keywords like
nocopypost
nowarnpost
to your defaults config line in imta.cnf
compile config
restart mta

Similar Messages

  • TS2755 After 'upgrading' to iOS 7.0.2, I am unable to send or receive photos in iMessage. With the previous iOS, it was no problem.  Is there a fix?  Apple support is the usual 'black hole' that ***** up endless time.

    After 'upgrading' to iOS 7.0.2, I am unable to send or receive photos in iMessage. With the previous iOS, it was no problem.  Is there a fix?  Apple support is the usual 'black hole' that ***** up endless time.

    Apple guys are deleting posts. I have found my posts have been deleted. Apple should MUST let us downgrade at least to previous release from current which was working fine.

  • PMTU-D Black Hole Detection Missing?  Cause of some conn hangs.

    In looking through the kernel source, it appears that Apple has left out one of the most important parts of Path MTU Discovery (RFC1191) as suggested in RFC2923. Since Path MTU Discovery is enabled by default, this may cause some of you to have 15 minute hangs and ultimate termination of connections when large packets are sent to specific hosts.
    Other than DNS and Wireless network drops, MTU settings appear to be one of the single most problematic things going on with OS X right now.
    For those who are not familiar with MTU, here's a brief rundown.
    10/100 Ethernet networks support a base MTU of around 1514 bytes. This is the max number of bytes that a packet is able to be in order to get put on an Ethernet network (and be within spec). Gigabit Ethernet allows for larger, but we won't go into that.
    You're probably more used to hearing 1500, however, that is the MTU for IP (or the Ethernet payload) as the Ethernet header itself is 14 bytes.
    In that 1500 bytes, you have to fit your IP header, ICMP/TCP/UDP header, and any higher layer protocols and data, each layering on top of the next.
    |<--Ethernet (14 Bytes)--><--IP (20 Bytes)--><--TCP (20 Bytes)--><--Data (1460 Bytes)-->|
    So that is how things look on a local area network.
    Once the WAN comes into play, the Ethernet header is stripped off leaving only the IP packet and another header put in its place to get it over the next link. This process goes on and on and on until the packet finally reaches its destination.
    But here's the problem - what if there is ANOTHER layer between the Ethernet and IP stack?
    This is actually quite common and you're probably using it now. The protocol PPP over Ethernet (PPPoE) fits between the Ethernet header and the IP header and adds another 8 bytes to this packet size.
    So now we end up with:
    |<--Ethernet (14 Bytes)--><--PPPoE (8 Bytes)--><--IP (20 Bytes)--><--TCP (20 Bytes)--><--Data (1452 Bytes)-->|
    Notice that we now can't put as much data in this packet or we'll end up with a packet that is too big to fit on the Ethernet network.
    The PPPoE header will ultimately get taken off once the packet gets where it needs to go at your ISP, but there may be other 'tunnels' between you and your ultimate destination and continue to strip off space of how much data you can put into a packet.
    So how do you know how much data you can put into a packet when you don't own or know anything about the network between you and the destination?
    That's where Path MTU Discovery comes into play.
    It used to be that IP packets would be fragmented (split up) if a packet was too big to get put on the next network. This process of fragmentation causes overhead for both the router having to split up the packets and the receiving device that has to put them all back together again (and make sure they go in the right order).
    So in order to reduce this overhead and also ensure that you are always sending the largest packets possible from end to end, IP stacks started setting the 'Don't Fragment' bit in the IP header. This instructs routers to throw away the packet if it is too big when it gets there.
    When the packet gets thrown away due to it being too large, the router that throws it away also sends an ICMP packet (an IP diagnostics message) back to the sender telling it what the MTU is of the interface that couldn't take the packet. The sender can then re-calculate things based on that value and resend.
    This works great EXCEPT when there are firewalls in the way (or broken routers, which is less likely these days). Many firewalls will not allow these ICMP messages to go back to the sender. Therefore, your host never receives the message that it is supposed to reduce the size of the packet and keeps trying and trying for about 15 minutes until it finally dies.
    This is one reason why you may be seeing long hangs that ultimately end in termination of your connection.
    RFC2923 goes into some options to work past this issue.
    One way that this can be done, Windows Vista for instance does this, is for the system to keep an eye on how many max sized packets get retransmitted. After a certain number (lets say 5), the system assumes that it is not getting this ICMP notification and cuts the size of that packet in half so it can now get the data through - assuming that smaller packets are better than no packets getting sent.
    It may also (and does with Vista) temporarily disable the setting of the 'Don't Fragment' bit and allow the routers to just take care of things. So in Vista, you'll see the page stutter for a second, and then continue to load, where an OS X system will sit there and hang for 15 minutes.
    This is where OS X goes wrong. This behavior is called PMTU-D Black Hole Detection and does not appear to be in the IP stack for Leopard (and probably not previous releases).
    So what can you do.
    You have a few options, some of which I've already provided to a few folks (although without the mathematics so it's just a rough guess value).
    First, you can just disable PMTU-D. The command to do this is:
    sudo sysctl -w net.inet.tcp.pathmtudiscovery=0
    This is a 'quick fix' but does eliminate the benefits that PMTU-D provides.
    Second, you can calculate out what size MTU seems to work for you by working backwards and configure that on something within your control.
    If your home router supports it, that's a good place to reduce the MTU since it only comes into play when you're using your Internet connection and not when hosts within the same network talk to each other. So if you place the MTU of 1472 on your router and your host sends it a 1500 byte packet, it will send back the ICMP message telling you to reduce it down to 1472.
    If your router doesn't support it, you can reduce the MTU on your macs physical interface. This isn't always the best solution since you really should then reduce the MTU on each of your local systems or you could run into issues locally.
    The command to do this is:
    sudo ifconfig en1 mtu 1472
    To make this permanent for Ethernet, set it in the Network settings. For Airport, search the forums. I provided an update you can make to one of the preferences files manually to do this (don't remember what file right now).
    I have found a couple of sites (Washington Mutual's website for instance) that appear to have configuration issues internal to their network in which a device behind a firewall (possibly the web server, load balancer, or IPSec added) that may have an MTU less than 1500 set on it AND a firewall blocking ICMP packets from coming back. These sites will throw off your math since you can no longer assume a max size of 1500 for IP packets. In this specific case, you have to assume 1480.
    Third, you can adjust the MSS setting (Max Segment Size) in the kernel to a value that is 20 bytes smaller than what you would otherwise set the MTU to. This ensures that the TCP stack doesn't put more than that amount of data in any single packet (therefore, eliminating the MTU issue), however, this will not work for UDP.
    Finally, you can submit a bug report to let Apple know that PMTU-D Black Hole detection is something that we need.
    So what kind of impact does this have on performance?
    This will depend on what solution you choose, what the performance of your home router is, and the load on the various servers that have to potentially re-assemble the packets.
    That said, knocking things all the way down to 1400 bytes, I am able to still get at least 15 Mbps up and down stream over the Internet.
    If you have any questions on this post, please post and i'll do my best to respond. Hopefully this will help one more person resolve their performance issues with Leopard.

    Hi Karsten and thanks for the suggestion!
    I have exempted internal networks and can connect them via the VPN connection. I also got connectivity to the outside world with nat (outside,outside) and 'same-security-traffic permit intra-interface'.
    A question remains though. At the moment, all traffic gets out of the network through the 'outside' interface IP (.22). I'd rather use a dedicated address from the /29 on GigabitEthernet0/0. Is this possible to achieve that? To put it differently, I'd like to NAT the VPN range onto an address that is not the 'outside' interface, like I did in this statement, for instance:
    nat (v200,outside) source dynamic v200_private v200_public
    My other question is, whether the single NAT statement [nat (outside,outside) dynamic interface] is sufficient for VPN traffic and whether the original statement can be removed [nat (vpn,outside) source dynamic vpn_pool vpn_public].
    Thanks once again for the tips!
    R.

  • Exchange 2010 - Method to send e-mail when the WAN IP is dynamic

    Hello,
    I am writing due to the fact that I cannot send e-mail from my Exchange 2010 Server to my Yahoo! address for testing. When trying to do so, I get the following error message:
    mta1106.mail.gq1.yahoo.com gave this error:
    Mail from xxx.xxx.xxx.xxx not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see
    http://postmaster.yahoo.com/errors/550-bl21.html [550]
    As one can see, because my IP address is residential, I cannot send e-mail to all addresses on the web. I really would like to use this as my primary contact, and thought of using a proxy. Can someone recommend a good proxy, or workaround for this? I am
    sorry for posting in Exchange 2013, but I couldn't find the 2010 forum. Thank you to all who reply.
    Mike

    Thank you for your reply,
    I have set up DynDNS, and I am currently using my own domain name. The problem was I needed to configure a smart SMTP host, or relay server on my send connector. I decided to go with SMTP2GO, as they are cheap, and allow you to send 20 e-mails a day for
    free. When the money is right, I plan to upgrade.
    Thank you for your help.
    Mike

  • Delayed mail for internal user send a mail to gmail account

    hi to every one,
    Today we are facing an issue in exchange server 2010
    Whenever internal user send a mail to some of gmail accounts user receives a mail from postmaster states that
    This is an automatically generated Delivery Status Notification.
    THIS IS A WARNING MESSAGE ONLY.
    YOU DO NOT NEED TO RESEND YOUR MESSAGE.
    Delivery to the following recipients has been delayed.
    Action: delayed
    Status: 4.4.7
    Will-Retry-Until:
    Regards
    Kart26

    Hi,
    Did the issue occur when the specific user you mentioned above sent email to two gmail users at a time?
    Is there any recipient limit for this specific user?
    To narrow down the issue, I recommend you check the smtp log about this specific user for related messages.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • To send the mail

    Hi,
    I have applied this in the 10g Oracle express database without any problem
    CREATE OR REPLACE PROCEDURE schema2.send_mail (
    p_mail_host IN VARCHAR2,
    p_from IN VARCHAR2,
    p_to IN VARCHAR2,
    p_subject IN VARCHAR2,
    p_message IN VARCHAR2)
    AS
    l_mail_conn UTL_SMTP.connection;
    BEGIN
    l_mail_conn := UTL_SMTP.open_connection(p_mail_host, 25);
    UTL_SMTP.helo(l_mail_conn, p_mail_host);
    UTL_SMTP.mail(l_mail_conn, p_from);
    UTL_SMTP.rcpt(l_mail_conn, p_to);
    UTL_SMTP.open_data(l_mail_conn);
    UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, '' || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, p_message || Chr(13));
    UTL_SMTP.close_data(l_mail_conn);
    UTL_SMTP.quit(l_mail_conn);
    END send_mail;
    SHOW ERRORS
    Then I try to send one mail like this
    DECLARE
    vSender VARCHAR2(100) := 'postmaster@mysmtpdomain';
    vRecip VARCHAR2(30) := '[email protected]';
    vSubj VARCHAR2(50) := 'testing mail';
    vMesg VARCHAR2(4000) := 'I''m to check the smtp is working fine';
    vMType VARCHAR2(30) := 'text/plain; charset=us-ascii';
    BEGIN
    schema2.send_mail('mysmtpdomain', vSender, vRecip, vSubj, vMesg);
    END;
    but I can't receive the mail! Any advice?
    Best regards
    Edited by: HuaMin Chen on May 26, 2011 4:18 PM

    I still have got these (no improvements)
    17:31:48 SQL> create or replace procedure send_mail_nw
    17:31:54 2 IS
    17:31:54 3 mailhost VARCHAR2(30) := '10.?.5.?';
    17:31:54 4 mail_conn utl_smtp.connection;
    17:31:54 5 crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    17:31:54 6 mesg VARCHAR2( 1000 );
    17:31:54 7 BEGIN
    17:31:54 8 mail_conn := utl_smtp.open_connection('10.?.5.?', 25);
    17:31:54 9 mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    17:31:54 10 'From: <postmaster@mysmtpdomain'||'>' || crlf ||
    17:31:54 11 'Subject: '||''testing mail' || crlf ||
    17:31:54 12 'To: '||'[email protected]'|| crlf ||
    17:31:54 13 '' || crlf || 'Testing mail procedure';
    17:31:54 14 utl_smtp.helo(mail_conn, '10.?.100.?');
    17:31:54 15 utl_smtp.mail(mail_conn, 'postmaster@mysmtpdomain');
    17:31:54 16 utl_smtp.rcpt(mail_conn, '[email protected]');
    17:31:54 17 utl_smtp.data(mail_conn, 'Testing mail procedure');
    17:31:54 18 utl_smtp.quit(mail_conn);
    17:31:54 19 END;
    17:31:54 20 /
    ERROR:
    ORA-24450: Cannot pre-process OCI statement
    17:31:54 SQL> show errors
    Errors for PROCEDURE SEND_MAIL_NW:
    LINE/COL ERROR
    10/10 PLS-00103: Encountered the symbol "POSTMASTER" when expecting one
    of the following:
    * & = - + ; < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between || member SUBMULTISET_
    The symbol "*" was substituted for "POSTMASTER" to continue.
    10/45 PLS-00103: Encountered the symbol "||" when expecting one of the
    following:
    . ( * @ & = - + ; < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between || member SUBMULTISET_
    17:31:54 SQL>
    17:31:54 SQL> exec send_mail_nw
    BEGIN send_mail_nw; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object SCHEMA2.SEND_MAIL_NW is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

  • My 3GS will not send e-mails from yahoo. Keeps saying the username or password is invalid. How can I fix this?

    Any idea how I get fix my iphone so it will send e-mails from yahoo? It keeps saying username or password invalid. I can receive e-mails without any problem. I have tried deleting the account and reinstalling it, chek the username and password and they are correct. Went under outgoing server but it is grayed out and won't allow me to edit and add the optional username or password or anything in that section. Please help.

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    Finally, if the Restore doesn't work, let the battery drain completely.  Then recharge for at least an hour and Restore again.

  • Error while sending a mail using UTP_MAIL package in Oracle 10g

    Hi,
    We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ...
    SQL> connect sys/password as sysdba
    Connected.
    SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql
    Package created.
    Synonym created.
    SQL> @$ORACLE_HOME /rdbms/admin/prvtmail.plb
    Package body created.
    SQL > alter system set smtp_out_server = '<mail_server_ip:25>' scope =spfile;
    System altered..
    Now we try the code
    begin
    utl_mail.send(
    sender => 'sender's mail',
    recipients => 'receiver mail',
    CC => 'optional',
    subject => 'Testing utl_mail',
    message => 'Test Mail'
    end;
    But we get the following error...
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 139
    ORA-06512: at "SYS.UTL_MAIL", line 405
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    We also tried connecting to the mail server through telnet .But it is not getting connected..
    Please help us to solve the issue.

    From your own posting you may have the clue, if you try to access your mail server through telnet and it is not successful, it means the service is down or there are networking issues.
    On pre 10gR2 versions there was a bug 4083461.8. It could affect you if you are on 10gR1
    "Bug 4083461 - UTL_SMTP.OPEN_CONNECTION in shared server fails with ORA-29278 Doc ID:      Note:4083461.8"
    This was fixed on 10gR2 base and on 9.2.0.8.0
    ~ Madrid

  • Need to send a mail back to the user in Sender Mail adapter Scenario

    Hi all,
    I have a scenario where the user fills the Price form  or the Article form (which is a Adobe Form).When the user clicks on the "submit" button,the form is converted into xml , gets attached to the mail and sent to PI.
    Now the user sometimes attaches the pdf directly instead of submitting the form. This results in the mail being sent
    with pdf  as attachment.
    Now my requirement  is to send a mail back to the user asking them to send an xml  instead of a pdf.
    How can this be done ?
    Kindly let me know friends.
    Quick Response is appreciated.

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

  • If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    OUtlook was already set as the mail client for FF, and is my operating system (XP)'s default mail programme. therefore problem not solved at all. what I get whenever I follow a link in a webpage to send an e-mail is a little pop up window asking me to sign in to gmail or open an account. any other suggestions?

  • E72- Unable to send e-mail from work mailbox

    I am unable to send e-mails from my work e-mail through my E72 although it receives perfectly. I have been in contact with Nokia via e-mail for the last 2 weeks and they have sent several suggestions to solve the issue but nothing is working. I have set-up my work e-mail on my husbands Blackberry  with the same settings and can receive and send perfectly. From that I conclude there is no issue with the settings I have or my work e-mail but with
    Nokia!! The latest 'help' I have received was to download a patch but I have no idea how to do this and get it onto my phone. So far Nokia have not replied to me.
    Any suggestions how to get this to work would be greatly appreciated

    If you're using a much older firmware, updating the phone would be a good idea.  Find the Software Updates section of nokia.com and type your phone model.  If you can't do an over-the-air update, download and install either the OVI Suite or the standalone Software Updater.  This may hard reset the phone, so back up anything important with OVI Suite first.
    Ignoring firmware for now, IMAP and URL's are like apples and oranges.  If you work for a small company, the server may always be called " mail.mycompany.com", but IMAP will never use an HTTP or HTTPS prefix.  URL's are typically associated with Microsoft Exchange servers.  Within the email program, check Options -> Settings -> Mailbox settings -> Mailbox settings -> Advanced mailbox settings.  Are "Outgoing email settings" set to something like
    User authentication: Same as for incoming
    Outgoing mail server: <compare to the setting for the Incoming server name; in a small company this will likely be the same>
    Since you're getting far enough for the mail sever to reject your connection, the other settings should be fine as-is.
    It does look like an authentication issue, so I'd say you're either hitting the wrong server or there's a bad username or password in there somewhere.  If the Blackberry works with an IMAP connection, then you should be using the same server name(s), and user/password.
    If all else fails, you can always try removing and readding the mailbox completely.  Choose Menu -> Applications -> Email -> Settings -> <highlight your work account> -> Options -> Remove mailbox.  And then set it up from scratch.  I hope that helps a little!

  • URL link in send e-mail pl/sql procedure

    I have a send e-mail procedure. I am trying to enclose in the body of the message a URL link with parameters from a form, but it is only taking part of it.
    for example http://my.link&pid='||pid||'&uid'||uid
    it only takes http://my.link
    What is the way to do it successfuly?
    Thanks,

    Thanks for your replies. I still did not get it to work. For example if I stick to your solution with :
    urlname := 'my.link?pid='||pid||'&uid='||uid;
    where should I stick the try this?
    I am using a variable called message.
    'message: ' 'click on the following link' ||CRLF || urlname
    This is is not working. Any clues? Thanks a lot. Jeanne

  • Using Windows: Send to -- Mail recipient, msg is sent OK, but not saved in Sent folder, with err msg about it. Sending from within Thunderbird: msg saved OK.

    When using Windows 8.1 context menu: Send to --> Mail recipient, message is sent OK, but not saved in Sent folder, with error massage: There was an error saving the message to Sent. Retry? (selecting Retry doesn't help).
    Similar issue happens when I open a ".eml" file and Reply of Forward it.
    When composing a new message from within Thunderbird, all is OK, including saving in the Sent folder.
    Already tried:
    Compacting the Sent folder.
    Compacting all folders of the account.
    Uninstall Thunderbird and install the latest version (31.6.0).

    When using Windows 8.1 context menu: Send to --> Mail recipient, message is sent OK, but not saved in Sent folder, with error massage: There was an error saving the message to Sent. Retry? (selecting Retry doesn't help).
    Similar issue happens when I open a ".eml" file and Reply of Forward it.
    When composing a new message from within Thunderbird, all is OK, including saving in the Sent folder.
    Already tried:
    Compacting the Sent folder.
    Compacting all folders of the account.
    Uninstall Thunderbird and install the latest version (31.6.0).

  • Lines Display when sending E-Mail using SO_NEW_DOCUMENT_ATT_SEND_API1

    Good Afternoon,
    I'm using the following code to send e-Mails:
      LOOP AT t_z3emailusr INTO w_z3emailusr.
        t_receivers-receiver = w_z3emailusr-email.
        t_receivers-rec_type = 'U'.
        t_receivers-express  = 'X'.
        APPEND t_receivers.
      ENDLOOP.
      MOVE text-003 TO t_mailtxt-line.
      APPEND t_mailtxt.
      CLEAR t_mailtxt-line.
      APPEND t_mailtxt.
      MOVE text-001 TO t_mailtxt-line.
      APPEND t_mailtxt.
      CLEAR t_mailtxt-line.
      APPEND t_mailtxt.
      LOOP AT t_apqi INTO w_apqi.
        MOVE w_apqi-groupid TO t_mailtxt-line.
        APPEND t_mailtxt.
      ENDLOOP.
      MOVE text-002 TO t_mailtxt-line.
      APPEND t_mailtxt.
      CLEAR t_mailtxt-line.
      APPEND t_mailtxt.
      MOVE text-003 TO t_mailtxt-line.
      APPEND t_mailtxt.
      MOVE text-004 TO t_mailtxt-line.
      APPEND t_mailtxt.
      CLEAR t_mailtxt.
      DESCRIBE TABLE t_mailtxt LINES mailtxt_size.
      MOVE text-000 TO t_doc_att-obj_descr.
      MOVE sy-langu TO t_doc_att-obj_langu.
      MOVE 'O'      TO t_doc_att-sensitivty.
      t_doc_att-doc_size = mailtxt_size * 255.
      CLEAR t_mailpack-transf_bin.
      MOVE 1 TO t_mailpack-head_start.
      CLEAR t_mailpack-head_num.
      MOVE 1            TO t_mailpack-body_start.
      MOVE mailtxt_size TO t_mailpack-body_num.
      MOVE 'HTM'        TO t_mailpack-doc_type.
      MOVE sy-langu     TO t_mailpack-obj_langu.
      APPEND t_mailpack.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = t_doc_att
          put_in_outbox              = 'X'
        TABLES
          packing_list               = t_mailpack
          contents_txt               = t_mailtxt
          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.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Everything is ok except for the text...
    Although i'm appending lines in t_mailtxt the text of the e-mail is continuous...
    How to display text with "line breaks"? Do i need to change the doc_type of t_mailpack?
    Regards,
    Pedro Gaspar

    Yes .. change the doc_type.

Maybe you are looking for