Sending mails automatically using trigger concept-Auto Responder

I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
Thank you,

Hi,
if u dont want use a standalone application , U can integrate ur schedular class (which i mentioned earlier ) using quartz ,
go to this URL
http://www.opensymphony.com/quartz/
cheers
Rajendra Bandi

Similar Messages

  • Send different mails automatically on different days-Auto Responder

    I need to develop an Auto Responder application where my application has to send different mails to different types of Auto Responder customers.These mails should be sent to these customers every x days after their subscription i.e., once a customer has subscribed for this Auto Responder he will be recieving a mail 3rd day after subscription,then 7 days after subscription and then 10 days after subscription.This will vary on the particular auto responder to which the client has subscribed.
    I got the suggestion that using timer and timer task classes in the java mail will be helpful.But can anyone tell me how to use these methods to send different mails to different customers on different days. I need it urgent.

    Hi
    in the last reply, i mentioned using of timer and timertask classes to send mails.
    I got ur problem. I believe the Days X is fixed for each auto responder. I mean for auto responder1 days are 3,7,10 , for autoresponder2 days are 5,8,10 ... etc
    R u using any database, if yes follow Soultion 1 otherwise follow Solution2
    1)
    Create two tables in database
    table a is autoresponders table
    schema
    Autoresponderid
    AutoResponderDescription
    AutoResponderMailFormat
    AutoResponderDays(comma deliminated numbers ex: 1,3,5,10.. ) ( i belive Days x is fixed and with varying difference, if it is fixed difference ie 1, 5, 9 with a diff of 4 then we need autoresponderinterval instead of autoresponderDays )
    Table b is CustomerTable
    CustomerID
    Customer Name
    AutoResponderID(Foreign key to autorespondertable)
    Fill out appropriate responders data and customer data
    Now almost the problem is solved.
    I am focusing on main task sending mail
    I have explained already how to send mail in JSP forum for your question. Please refer that.
    Suppose we assume autorespondertable contains 5 rows.
    and customertable contains 10 rows(10 customers)
    Now the logic is
    Create a common TimerTask which has attributes same as autoresponder row.
    Create a Thread(TimerTask in this case), for each row in autoresponder table(in our case 5 TimerTask 's are created)
    Follow these steps(Implement the logic in run method of TimerTask).
    1) Read rows of all customers whose autoresponder is this id
    2) Notice there subscription date, do some work on that date and compare with autoresponderdays data. (suppose if customer subscribtion date is 20/07/2005, todays date is 23/07/2005, if autoresponder day is 3 , take the diff between two dates and compare with autoresponder date) if yes
    Read MailFormat for that autoresponder and add customer name, blah blah, use JavaMail Mail api and send it . and
    3) Important this TimerTask must be scheduled for every day
    i,e. Please have a look to my reply in JSP forum. It should be
    INTERVAL=1000*60*60*24 (1 day)
    4) it checks every day all the autoresponders
    If u want me to write the code, i can provide that
    cheers
    Rajendra Bandi

  • Sending mails automatically at regular intervals

    Hello everyone,
    We have to create Auto Responder application where we need to send mails automatically to customers(clients) at regular intervals. we need to send these mails automatically without any manual involvement.Wat we know is just the client's email and once we get the clients mail,our application should be able to send these mails at regular periodic intervals. Plz help me out in arriving at a solution for this problem.

    I'm loathe to respond to a thread about what could very well be spamming software. You posted this question in multiple forums, which doesn't help the case any. In any case, you received responses pointing you in the right direction in the other forums. Please do not abuse our forums and waste our time by posting the same question in multiple forums.
    -Ian Evans

  • Can't send mail when using mobile broadband

    Hi
    I am getting quite frustrated as I can't send mail when using my mobile broadband modem! I can receive mail, and surf the internet etc, but mail just wont send!(i get the usual cannot send try later/resend options). I thought this might be an issue with my mobile broadband but have recently reinstalled it. When at home on a wireless network I have no such issues.
    Any help appreciated
    Charlie

    Cgienke wrote:
    I am not using a SMTP it is a Pop3 domain name account from freeparking and uses mail.'NAME'.com for incoming and outgoing mail!
    Even though your e-mail service uses the same URL for POP3 and SMTP servers, in the software sense you actually do have separate POP3 and SMTP servers, although they may be hosted on the same machine, or the requests are routed via some "smoke and mirrors" to the right host.
    It is not related to my ISP at home, which is Virgin media. My mobile broadband provider is 3. I was thinking it might be that I need to change the port settings in mail when using my mobile modem, but don't know what to change them too(or how to do it!) or configure the modem differently but again not sure what to do there!
    Check with the freeparking online help to see if it supports port 587 or some such.
    Also try Mail's "Connection Doctor" (under the Window menu) when you're away from home to see if that shows anything useful.
    Since you can send e-mail from that SMTP server when you're at home but not when you're using your mobile broadband, I think one of two possibilities is likely: (a) Your mobile broadband provider is blocking your attempts to access the freeparking SMTP server and/or port. (b) The freeparking SMPT server for some reason doesn't like being communicated with via your mobile broadband provider. I'd check with each of them to explore these options.
    Does your mobile broadband provider have an SMTP server that you can use instead of the freeparking one?
    My modem(Huawei E220) is not particularly Mac friendly as it is, and I believe Mail can be quite sensitive when servers don't respond immediately?
    Yes. Mail seems to have a fixed time-out value for server responses.

  • Re : send mail automatically

    Hi
    I had configured email setup for sales order creation and its working fine.
    Now my query is mail has to be sent automatically, at present mail triggers if i click in "SBWP - business work place"(sap-inbox).
    But i need to send mail automatically without making a click in SBWP.
    How to solve this.
    Thanks
    Anto

    Hi Antony!
    Did you try implementing the standard task and triggering it with the event as mentioned by Arghadip? Let us know whether this has resolved your problem or not.
    Regards,
    anwar.

  • Help required in triggering concept for sending mails automatically

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

  • Sending mail from using utl_smtp error......

    Hi
    When i try to send mail like as follows
    DECLARE
    v_connection UTL_SMTP.CONNECTION;
    BEGIN
    v_connection := UTL_SMTP.OPEN_CONNECTION('xxx.xxx.xxx.xxx',25);
    UTL_SMTP.HELO(v_connection,'xxx.xxx.xxx.xxx');
    UTL_SMTP.MAIL(v_connection,'[email protected]');
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
    UTL_SMTP.QUIT(v_connection);
    END;
    I get the following error..
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 17
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 138
    ORA-06512: at line 4
    if i send mail from outlook it goes...the configuration is like this
    in mail properties general tab
    email address : [email protected]
    and i have to tick mark the "include this account when receiving mail or synchro" option
    in servers tab
    POP3 : xxx.xxx.xxx.xxx
    smtp : xxx.xxx.xxx.xxx
    and i have to tick the "My server requires authentication" option
    and have to give the setting for that also
    ie. log on using account : [email protected]
         password: xxxxxx
    How to Correct it ?
    Kris

    i am on the same platform and in same account..... and PL/SQL UTL_SMTP gets a connection plus SMTP error, while telnet cannot even get a connection. A very weird one. Not sure what the problem can be.
    Worse case, forget telnet and do all your troubleshooting using UTL_SMTP.. with liberal usage of DBMS_OUTPUT. :-)
    regd. the connection from my xp client it is
    connecting to the telnet server on server, but when i
    tri to connect to the ISP's smtp address it throws
    the errorNot that strange. You're likely going through a proxy of sorts of to reach the ISP mail server. Besides, to send mail you should be able to use your company's SMTP server as it should route Internet e-mail out to the net automatically.
    In fact, many SMTP servers will not allow you to relay via them. E.g. if you connect from domain 1 to SMTP server on domain 2, and you submit an e-mail to be delivered to domain 3, the domain 2 server will tell you to take a hike. It will only accept mail that is destined for its own domain or originating from its own domain.
    Reason for this is spam. Open relays are one of the prime reasons for having billions of spam mails being transmitted.
    The correct method will be for you on domain 1 to connect to domain 1's SMTP server and submit an e-mail to be delivered to domain 3. That will be accepted and delivered. Using domain 2 as an intermediate agent to act as a relay, is/should not be accepted by all SMTP servers. (your SMTP server should get blacklisted/blackholed if it has an open relay)

  • Send mail in a trigger

    I want to send a mail in a After Insert Trigger to a defined user with oracle 8.1.7.
    How can i do ?
    PLZ HELP!!

    AskTom has a number of discussions about how to use the utl_smtp package to send mail. One such discussion is
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:255615160805
    In this forum or the SQL/ PLSQL forum, there was also a discussion on this exact topic in the past few weeks.
    Justin

  • Sending mails without using sendmail service. Is that possible?

    Hi all,
    I am considerably new to Solaris.
    I have a query,
    Is it possible to send mails out without using sendmail service?
    If so how can they be implemented in,
    Solaris 7?
    Solaris 8?
    Solaris 9?
    If it is not possible, are there any workarounds to achieve this or else this cannot be implemented at all?
    It would be really great if someone could shed light on this query.

    Your question is a little ambiguous. However, I will try to answer it.
    You need to use a program to send the email for you. On Solaris by default this is sendmail. However, it can be used in a number of modes.
    1. It can be run as a daemon, listening on port 25 for new messages to be delivered to it.
    This is enabled by default but is not necessary for sending email. If you wish to switch sendmail off as a service in Solaris10 then you should type 'svcadm disable svc:/network/smtp:sendmail'. If you wish to switch it off on earlier Solaris releases you will need to move/erase the startup script in either /etc/rc2.d or /etc/rc3.d.
    2. It can be run in 'immediate mode' to send mail immediately.
    This allows you to send a mail directly to someone. On a normally configured sendmail instance it will try to deliver the mail immediately - if the server at the other end is unavailable, the mail will be queued locally to be potentially delivered at a later date.
    3. It can run in delivery only mode to attempt to send queued mail
    Queued mail will not automatically get processed. Sendmail needs to run at a later date to attempt to deliver any queued mail. This can either be done via cron using 'sendmail -q' or sendmail can be left running the whole time and told to rerun the queue in given periods ie 'sendmail -q15m'
    There are alternatives to sendmail for delivering mail - postfix, exim, qmail are just three examples. I would advise against trying to deliver mail without using a specific mail agent to do it. Whilst the SMTP mail protocol is pretty simple in basic use cases the protocol does get complex. There is no real downside in using an established program.
    HTH.

  • Lion Applescript to send mail (not using Mail.app) broken

    I have been using an applescript to transfer files across a network and then send an email when the files have transferred. I am testing Lion on one machine and my script (which worked in Snow Leopard) fails on the email part. (The files copy okay)
    here is the segment:
    --> send email
              set authstuff to {"auto", "plain", "login", "crammd5", "anonymous", "cramsha1"}
              set s to "on run {fromx,theAddresses,emailsubject,filelist,smtpServer,puerto"
              if emailauth is not "none" then set s to s & ",user,pwd"
              set s to s & "}" & return & ¬
                        "send mail to theAddresses from fromx SMTP server smtpServer port puerto subject emailsubject body filelist"
              if emailauth is not "none" then set s to s & " username user password pwd authentication " & emailauth
              if emailssl is "true" then set s to s & " with ssl"
              set s to s & return & "end run"
              try
      run script s with parameters {emailfrom, emailto, emailsubject, filelist, emailsmtp, emailport, emailuser, emailpass}
              on error msg
                        my err("err 9: " & msg & return & return & s)
              end try
    The error message:
    OS: 10.7, CPU: Intel 80486
    err 9: «script» doesn’t understand the send mail message.
    on run {fromx,theAddresses,emailsubject,filelist,smtpServer,puerto,user,pwd}
    send mail to theAddresses from fromx SMTP server smtpServer port puerto subject emailsubject body filelist username user password pwd authentication auto
    end run

    I suspect that the script relies on a third-party scripting addition (possibly 24U Email OSAX?), and that you either need to update to the current version or wait for the developer to make a Lion-compatible version available.
    One way to verify this would be to open the script on a Snow Leopard machine and choose "Open Dictionary" from the File menu, then check what scripting additions are listed.
    HTH
    H

  • Is there any way to have Mail automatically use our default "Sent" folder?

    We are a small college, with a fair number of users who use Macs and iOS devices, and we run an IMAP mail server. By default, our accounts are configured with Sent, Trash, Drafts, and Junk folders. Apple's Mail.app insists on "Sent Messages" and "Deleted Messages" rather than "Sent" and "Trash".
    We instruct our users to use the menu command Mailbox > Use This Mailbox For > commands to select our server's folders on their desktops, and on iOS to use the Settings > Mail > Account > Advanced, but this is tedious and annoying. Most users get it about half right, so that some devices use our default "Sent", and some use "Sent Messages". (This happens with Trash as well, but most users are not concerned if their Trash differs device to device.)
    Is there any server setting that can hint to Mail.app that it should use "Sent" rather than "Sent Messages"?
    Apple has a support document about this issue, "Mountain Lion Mail: If messages aren't stored where expected on the server" (  http://support.apple.com/kb/PH11810 ).
    However, that doc (and the similar one for Snow Leopard) merely says, "When Mail stores messages on the server, it looks for specific mailboxes, by name, in which to put the messages. If Mail doesn’t find those mailboxes on the server, it tries to create them on the server or, failing that, on your Mac."
    The document does not specify what the "specific mailboxes" are, and certainly does not suggest that there is any way to have it cooperate better with our server, but perhaps there is a way?
    (If I was trying to be a good IMAP client, I might look for any of "Sent", "Sent Messages", or "Sent Items", and use what I found before going to the next step of creating my own folder. Hard to imagine that any IMAP account would be initially configured without some "Sent" folder, so why not try to discover what the user has before pig-headly making your own.)

    Unfortunately, I have not found a consise way to explain this to the general user, just a huge wall of text to work around something that Apple got wrong the first time they created an IMAP client, and has stubbornly persited with. Here's our documentation for this silly problem:
    Special Folders on IMAP
    The basic idea is that all IMAP mail programs keep all your mail on our server, so that, e.g. when you read or reply to a message, all of your devices can then show that message as read and replied to.
    By convention, each IMAP program treats a few folders on the server as "Special", such as a "Trash" folder, that deleted messages get moved to, and a "Sent" folder, where each message you send gets copied. When they all pick the same special folders, all of your devices will show the same view of your mail. However, if different devices use different server folders for their "special" Sent folder, then the mail from these two devices will wind up in two different places, and be harder to find.
    Unfortunately, Apple's Mail programs are particularly obscure and obtuse in the way they treat these folders: They show their special Sent and Trash folders on screen with the obvious names "Sent" and "Trash", but secretly, under the covers, they insist on using folders named, "Sent Messages" and "Deleted Messages" instead. Even if the server already has perfectly usable "Sent" and "Trash" folders, Apple clients will ignore them and create their own special case "special" folders.
    If you only ever use Apple devices to look at your IMAP mail, you might never even notice their deception. But, if you sometimes use another mail client, such as webmail, you will encounter the confusing truth: When we created your account for the very first time, we add a "Sent" folder (actually named "Sent") and a Trash folder, named "Trash", and this is what everything except Apple's mail will use by default, because those folders are already their the first time the client connects to your account. However, even though Apple shows your special sent folder at the top of the list, with a paper-airplane icon, and labels it "Sent", in fact they ignore the existing "Sent" folder and make and use their own "Sent Messages."
    SO, if you send some mail from webmail, it will be in your actual "Sent" folder, whereas if you send it from an Apple mail program, it will be put into your "Sent Messages" folder. If you look into either "Sent" special folder, you'll only find part of your previously sent mail.
    Similarly for Trash, though most users find it more problematic to have two different Sent collections than to have multiple trash buckets.
    To unify things, you can either set your non-Apple mail programs to use "Sent Messages" and "Deleted Items"; OR, you can set all of your Apple devices to use "Sent" and "Trash". Doesn't really matter which way you go, though if a majority of your devices are doing it a particular way, you should change the non-matching devices to agree with the majority.
    (All clear so far? Why did Apple make this so hard? It would have been utterly simple for them to check for an existing "Sent" folder, and to use one if there is one, rather than to always stubbornly create and use a new "Sent Messages" folder. Then, they add to the problem by pretending that their new "Sent Messages" folder is really just named "Sent". Stupidity all the way down.)
    Anyways, to find out what the majority of your devices are doing, check them each to see which of the "sent" folders shows up in the "normal" list of folders rather than in the "special" location, that is, what folder name is in the list at the bottom of the folder area, rather than up at the special "Sent" icon, (because the special one will always be labeled "Sent", not matter what the actual folder name is).
    For example, say that on all-but-one of your mail setups, you see a "Sent Messages" folder down in the normal list, and on the other device, you see "Sent" down in the normal list.
    In that case, you'd want to set the "different" device to make the folder named "Sent" be the special one, instead of the "Sent Messages" that it was currently using.
    Conversely, if all but one showed "Sent" down in the regular folder area, and only one showed "Sent Messages", then you'd want to make "Sent Messages" the special folder on the odd device.
    Once you have decided, see the specific sections below for the procedure to set the "special" folders for Apple's Mail.app on a Mac, Apple's Mail on an iPhone/Pad/Pod, or for RoundCube webmail, or for Thunderbird.
    Once you have every device using the same sent folder, then you can move any messages from the "extra" version of the folder into your special folder, and then you can delete the extra folder. (If you delete this extra folder and it later re-appears, then it means one of your mail programs is still using it as its "special" folder, and recreating it.)
    Similarly for Trash, though probably you could delete the extra trash folder without moving the files, because they are trash.
    Here are the details for changing the Special Mail Folders on the systems we use:
    A) iPhone, iPad, iPod:
    As a first step, use Settings > Mail to set your device to read your email account, then open the Mail program so that it will read the list of all of your folders from the mail server. After that, go back to Settings > Mail to make sure it is using the desired special mailboxes on the server.
    Select your IMAP account in the settings tool, and then press the button for "Advanced" settings, and find the list of special mailboxes, e.g. Sent, Trash, Drafts. For each, scroll through the list of folders on the server to choose the folder you wish to use for that function.
    Note: iPhones/Pads/Pods also can be set to keep sent mail locally on the device. This is a spectacularly stupid choice for normal IMAP, as none of your other devices will be able to see the messages you send from your phone.
    B) Mail.app on Mac desktops and laptops:
    Set up mail so that it reads your messages and folders from the mail server.
    Select the "Sent" folder that you wish to use in the list of folders at the lower left of the mail window. (On newer Macs, the folders may be hidden by default. Use the "View > Show Folder List" menu command to display them if necessary.)
    Use the menu command "Mailbox > Use This Mailbox For > Sent" to specify that the selected mail box is the special folder for sent mail, and similarly for your Trash, Junk, or Drafts folders.
    C) RoundCube Webmail (with the standard skin):
    Login to your webmail site , and select the "Settings" icon in the upper right of the window, which has a "Gear" icon. This will display a "Settings" panel with buttons for "Preferences", "Folders", and "Identities" settings. When you first open the Settings panel, the "Section" panel shows a row of buttons for different Preferences.
    Click "Special Folders" in the "Section" list to open a list of "Drafts", "Sent", "Junk", and "Trash". Each special folder is followed by a menu of all your server folders. Select the server folder to use for each special folder.
    D): Thunderbird:
    After you have set up your connection to your IMAP account, click "Get Mail" to fetch your existing mail and list of folders on the server.
    Next, select the menu command "Options > Account Settings…" (Note that on current versions of Thunderbird, the default menu drops down from an icon of three horizontal bars, in the upper right corner of the mail window. You can use the Options command in this menu to display a menu bar at the top of the Thunderbird window if you wish. With the full menu, the menu command to access the special folders settings is "Tools > Account Settings…"
    Select "Copies and Folders" in the list at the left of the Account Settings window. This panel has a section for Sent mail, Archives, Drafts, and Templates. Select "Junk Settings" in the list at left to specify the location of the Junk special folder.
    For each special folder, the default choice is the the folder on the server with the "typical" name, e.g. "Sent" for sent, and "Trash" for trash. To use a different name, select the "Other:" option for the folder, and then choose the desired folder from the list of folders on the server.
    Oof! That's a lot of explaining for a issue that Apple should have gotten right in the first place, or at least should have fixed in their next several tries. It would not break any existing functionality if they merely used whatever folder the server had created, and only made their own if there was none.

  • How to send mail attachments using java mail

    can any one help how to create mails attachments using java mail

    you can do it like this:
    Message msg = new MimeMessage(session);
    String fileAttachment = "c:/test.txt";
    Multipart mp = new MimeMultipart();
    BodyPart bp = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(fileAttachment);
    bp.setDataHandler(new DataHandler(fds));
    bp.setFileName(fds.getName());
    mp.addBodyPart(bp);
    msg.setContent(mp);
    ...

  • Sending mails manually using Tcode SOST

    Hi Experts
    I am using Zprogram to send  email to receivers in which i have used  FM 'SO_NEW_DOCUMENT_SEND_API1'  . Now the new requirement is to stop the mails sending automatically.
    is it possible to adjust the program in a way that when executing the programme , the mailing is only prepared and eMail will only be sent via the TCode  SOST?
    Regards
    Raveendra

    Hello,
    I don't think there's any good way to do this.
    If you want to hold all emails from certain users you could try using CDG routing (note 311633) to assign their emails to a node that you leave turned off until you've checked the queue... But that only works if you want to stop all mail from that sender.
    Or you could change to using a MAIL printer (device type M) and uncheck the print immediately so the email shows up in their print spool and needs to be triggered before being sent.
    Regards,
    Michael

  • Error while sending mail when using Java Mail API

    Hi Experts,
    I am trying to execute a webdynpro application which uses the Java Mail API to send emails. The exception that I get on executing the application is :
    Sending failed;  nested exception is: javax.mail.SendFailedException: Invalid Addresses;  nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
    Can anybody please help me sort out the issue.
    Regards
    Abdullah

    Hi,
    Usually one get this error if the SMTP server is configured not to relay mails (a security measure) or the SMTP server need the mail to be sent from a trusted IP or with proper authentication. Some SMTP servers are configured to block junk mails.
    Pls check with your  mail server administrator.
    Regards

  • How to send mail body using RE_CN_RA_INVOICE interface from RECPA520

    Hi ABAP Guru,
    I am using a standard interface RE_CN_RA_INVOICE for tcode RECPA520 for generating pdf form and send the corresponding PDF to  corresponding address maintained in Business Partner.The problem is mail is sending with attachment but there is no mail body.
    Please help

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

Maybe you are looking for

  • Error/Exception handling in MQSeries

    Hi, What is the robust (yet simple) way to handle any exception generated while doing any operation in MQ Series for e.g. putting messages on queue. Currently i have just done exception handling using try/catch blocks in my java application. Kindly e

  • Current itunes Track for non-ichat users?

    hello, well when i'm on ichat i put my status as current itunes track. However, my friends who dont have ichat or mac can not see anything. Is there away that they can see it in there aim buddy list. Thanks!

  • Balance Sheet account in a Purchase Requisition

    Can I use a Balance Sheet account on a Purchase Requisition?  We currently do that and would like to be able to keep doing it.  However, no matter what BS account I try to use it says "GL Account XXX cannot be used".   Also/Or what Account Assignment

  • Weird circles on aluminum?

    I just purchased a MacBook Air 13" about a week ago and I absolutely love it. Today however, I noticed these two weird circles on the aluminum right beside my keyboard. I've tried to clean it, however it doesn't seem like a spill. It almost seems lik

  • External procedure calls supported?

    Are external procedure calls supported? Should be, right? I didn't find anything in the documentation and the directory $ORACLE_HOME/rdbms/extproc doesn't exist either. But the binary $ORACLE_HOME/bin/extproc is there. Thanks, ~Dietmar.