Need to send a automatic mail to an id while clicking a button
hi
i am new to APEX. My current assignment is when click on a button a mail should go to a particular mail id automatically.
Please help me to achieve this.
Regards
Hisham.A
Hi,
See APEX_MAIL package documentation
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm#CIHDIEJI
Also this OBE might help. It should work also with APEX 4.x
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31email.htm
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai
Similar Messages
-
Need to send mail to user while clicking update button
Hi
I am new to APEX.
I have a requirement. When clicking an update button the a mail should automatically send to user mentioned in the form. How can i achieve this. Please help.
Regards
Hisham.AHi,
Do not create duplicate post about same problem
Re: need to send a automatic mail to an id while clicking a button
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Hi,
I need to send an automatic mail through lotus notes.In the mail i should attach a PDF document . Pls give me solution how can i attach pdf document in my mail and it will we be attach automatically.This mail should be sent to multiple recipients.The problem is the mail.
Vikas KashyapUse the database procedure UTL_MAIL.SEND to send mail and attachments.
UTL_MAIL.SEND(from_addr,to_addr,nvl(cc_addr,null),null,subject,mail_body);
And you can call this from forms.
If you search in this forum , u can get the whole code. I have pasted the code earlier.
Rajesh Alex -
Hi ! I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.
There is a link at the bottom of this page. http://www.apple.com/contact/
-
Good morning. I need to send an e.mail reporting a problem with de Authorized Service Provider in Brasil. I contact Apple Brasil, but didn't solve. Someone know an Apple's USA e.mail i can use ? Thanks.
There is a link at the bottom of this page. http://www.apple.com/contact/
-
BASIS Configuration needed to send an external mail from SAP Program
Can you please help me about the BASIS configuration needed to send an external mail from SAP Program?
Regards,
SubhasishHi Subhasish,
Please go thru the below link.
Re: SCOT Configuration--for external mail
Regards,
Lakshman. -
MacBookPro 15
OS - Yosemite
Problem area - "Contacts"
Problem - when sending an e-mail in "Mail" I used to open contacts to get an address. A small window opened, I clicked on addressee and moved the addressee name to the e-mail. Can no longer do this because I now get a full screen in Contact.
Question - how do I get back to the small window in Contact?Mike,
Are any of your other applications going wonky, or is it just Logic?
I'm afraid I've never heard of this particular problem before, but if it were happening to me the first thing I would do is delete my "com.apple.logic.express.plist" file in Library>Preferences, then repair permissions in Disc Utility, and finally restart my computer. Then I would launch Logic and see if the problem has been corrected. It's amazing how much these two steps can accomplish.
If that doesn't resolve the issue I would launch Logic and go to Preferences>Audio Units Manager to see if all my plug-ins are properly validated. -
Went thru mozilla to business e-mail account/wanted to make a copy of notice to be sent/was clicking different buttons to find a "printer" all of a sudden the whole page went up and the top (bar,browser,everything disappeared) now can't find anything of mine only info to download mozilla??
That was helpful but it didn't solve the problem. There were two red dots, now only one, though I copied and pasted the same password in both places. (I don't recall having to change the password in two places before).
The red dot next to smtp.mail.me.com:(myname) disappeared
The red dog next to smtp.me.com:(myname) is still there. It says, "trying to log in to this SMTP account failed. Verify that the username and password are correct."
Thanks,
Lizzy -
Sending an automatic mail on changing message status
Hey,
I faced this problem previously where i wanted to send a mail to the key user as soon as the message status of any Service Desk message changes from new to In Progress. I received a SAP Tutor file from SAP Support which showed the whole process of configuring it. I implemented it and it was working fine. Now i have this situation that i want to send an email to the user everytime the message status is changed. So what i basically did was that i editted the condition to include all the statuses.
Now the problem i am facing is that the email is only sent when the message status is changed for the first time. Any subsequent changes later on dont result in mail being delivered. Actually that action of
sending mail is not being generated after the first time. Please help mein this regard.
Regards,
Bilal NazirHello Chetan,
First of all, are you using SolMan 3.2 or 3.1? I am asking that because the SAP Tutor file shows old version of Service Desk. If you have 3.2, are you working with SLFN transaction type or SLF1? With SLFN, you have to change action profile SLFN0001_ADVANCED. In order to send email on status change, create a new action as explained in the SAP Tutor, but using the correct action profile. Then create a condition for action for the correct status profile. It should work, it works for me..
I use the standard action "Email to message creator" to send email to message creator. I just configured "Max. 1 Unprocessed Action for Each Action Definition", Scheduled Automatically, Partner Dependent and put the message creator partner function in the Action Definition.
If it does not work for you, please explain in details what you have done and if you have any error message.
Did you check the Actions tabstrip in your Service Desk Message? You have all the log of the actions there, if the action was scheduled and did not work, you should find an error.
Regards,
Raquel Cunha -
You can send an automatic mail from an application to own ePrint?
I have an android application which displays documents in jpg hosted on a server, the idea is to type the mail ePrint printer in the GUI and send an email with the attachment to this email from a process server, is it possible? is there any restriction on that?, because I tested smtp clients GMAIL, HOTMAIL aND MAIL tO CORPORATE and I fail to print. The printer works correctly when I send the document from another side, even print the document sent to the server but previously forwarded from another account.
I hope I can lead, thanks in advanceHello cmjicar,
To the best of my knowledge, there are no restrictions on that. The only problems you may run into is that the emails might be rejected as spam, and what you are doing would be entirely unsupported. To prevent the emails form being rejected, make sure there is no signature on the emails, and that there is not forward or reply tag in the subject line of the email. Other than that I can not think of a reason it will not work.
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Hi All,
Basically I need to remove the automatic mail sending feature in the IDOC, please give me the solution, whether it is standard functionality, or is there any user exit to avoid.
If it is a Standard functionality then mention the Std. Program name or
If it is from userexit then plz mention the Exit name.
Thanks In Advance.think u need to check tcode swu3 for automatic workflow customizing and check in we40 (error AND STATUS PROCESSING) whether the processing code is assigned to the workflow task.
if it is assigned,the workflow will be automatically triggered and the mail will be sent to the user by itself.
ALE error handling uses workflow. A standard task is provided for each message type. Task TS20000051 is used for all BAPIs.
Workflow functions as follows:
A task (work item) is generated for the error handling and stored as a message in the inboxes of the employees responsible.
If one of these employees processes the work item, the standard task method for error handling is started. The user can, for example, restart IDoc processing.
If the IDoc is processed successfully, the work item is deleted from the inboxes of all the employees involved.
For this procedure to function, the employees responsible for a particular message type and partner (sender or receiver) must be defined as follows:
1. A hierarchy of organizational units (for example, "sales office") and positions (for example, "customer officer for customer X") is created and employees are assigned to it.
2. The standard tasks for error handling (for example, an error related to an inbound sales order) are assigned to the relevant organizational units or positions (for example, "sales office").
3. The organizational unit, position or employee responsible for dealing with the error are specified for each partner and message type in the partner profiles.
If an error occurs, the system determines:
1. The employees responsible using the staffing schedule of the organizational unit or position linked to the standard task.
2. The employees defined in the partner profiles (using position, user ID, or organizational unit).
3. The employees appearing in both groups represent those who will receive a work item in their inboxes.
Please give me reward point If it is useful
Thanks
Murali Poli -
Self registration & needs to send mail from admin to user.
Hi friends,
system needs to send an e-mail from the administrator to the user, informing the user that self-registration was successful.
i have made the congifuration as mentioned on sap help. i mean "ume.notification.
selfreg_performed = TRUE"
but still the user not getting emails automatically.
can any one assist me on this case.
thanks,
udhaya.Hi Michael,
i had done the self registration and email notification successfully thanks for your help & all also for all who helped me.
But i have a small doubt notification mail "user successfully created" going to the Guest user from administrators mail, but administrator account not getting any mail. i need to get that mail in our administrator inbox. how to get this mail.
Please assist me.
thanks,
Udhaya. -
Need to send the zip file to mail as an attachment
i want to pick the zip file which consists some 2,3 files inside it. and send as it is to mail as an attachment.what i did is
i have taken one zip file,,, "testing.zip" inside it i have "test1.txt" & "test2.csv"
i created sender CC ,,in that i used module payloadzipbean and unzipped and called the file adapter.. created reciever CC as mail ..used same payload module now here i zipped all the payloads.
Result..i see the attachment coming as "test1.txt.zip" ..here i can see inside this zipfile my original file names as "test1.txt"&"test2.csv" as i enabled ASMA in both CC.
issues:i am unable to get the original file name like "testing.zip" ,,
can anyone help me in this.
Regards,
LoordhHi all,
as i posted last time my requirement ,i am going with java mapping for my scenario. i am using this code .
http://wiki.sdn.sap.com/wiki/display/XI/Dynamicfilenameforpass-through+scenario
this is working perfect for zip file (file to file) scenario. but my scenario is file to mail ..as i need to send this to mail package there it is throwing error.i am getting "zip file name as attachment properly but when i try to open it is giving error in zip file." this is what i modied code ..i am able to see my messge in sender CC and reciever CC..any java experts please help on this.
try {
// create XML structure of mail package
String output = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<ns:Mail xmlns:ns=\"http://sap.com/xi/XI/Mail/30\">"
+ "<Subject>" + mailSubject + "</Subject>"
+ "<From>" + mailSender + "</From>"
+ "<To>" + mailReceiver + "</To>"
+ "<Content_Type>multipart/mixed; boundary=\"" + boundary + "\"</Content_Type>"
+ "<Content>";
out.write(output.getBytes());
// create the declaration of the MIME parts
//First part
output = "--" + boundary + CRLF
+ "Content-Type: text/plain; charset=UTF-8" + CRLF
//+ "Content-Transfer-Encoding: 8bit" + CRLF
+ "Content-Disposition: inline" + CRLF + CRLF
+ mailContent + CRLF
//Second part
+ "--" + boundary + CRLF
+ "Content-Type: Application/zip; name=" + attachmentName + CRLF
//+ "Content-Transfer-Encoding: base64" + CRLF
+ "Content-Disposition: attachment; filename=" + attachmentName + CRLF + CRLF;
out.write(output.getBytes());
//Source is taken as attachment
copySource(in, out);
out.write("</Content></ns:Mail>".getBytes());
} catch (IOException e) {
throw new StreamTransformationException(e.getMessage());
protected static void copySource(InputStream in, OutputStream out)
throws IOException {
byte[] bbuf = new bytehttp://in.available();
int bblen = in.read(bbuf);
if (!(bblen < 0)) {
//String sbuf = new String(bbuf);
//String encoded = Base64.encode(sbuf);
// replace all control characters with escape sequences
//sbuf = sbuf.replaceAll("&", "&");
//sbuf = sbuf.replaceAll("\"", """);
//sbuf = sbuf.replaceAll("'", "'");
//sbuf = sbuf.replaceAll("<"<");
//sbuf = sbuf.replaceAll(">", ">");
out.write(bbuf);}} -
Hi,
I am working in ECC 5.0...This is my requirement..
After receiving the workitem approval message in managers inbox..after he approves/rejects,whatever approval i need to send back confirmation mail to Employee as well as payroll and admistrator and also two managers.
Could u pls... how can i proceed with this scenario..
Thanks and Have a nice day!!!
SoniHi Soni,
We have handled a similar requirement in our project , by writing a Custom function module for sending mails to Initiator, Payroll and managers approving the form.
Actually we had created a custom function module for sending a mail.
And this was called in one of the Method of the Business Object. (e.g: SENDMAIL - ZBUS7051 )
and a background Step was defined in the Workflow template, which uses a task defined using the BOR Object - ZBUS7051 - SENDMAIL.
Hope this helps.
Regards,
Raj -
Why everytime i need to send mail from my phone it is asking for my apple ID ?
how come since I updated my phone, every time I need to send new e-mail it is asking me for my apple ID ?
Settings > Messages > Send & Receive > Start New Conversations From > select your cell phone number.
Maybe you are looking for
-
HP LaserJet Pro 100 Color MFP M175nw - Problems printing from Mac laptop
Hi I have never managed to get my prnter to prnt wirelessley from my laptop (Mac Book Pro - (OS X Version 10.6.8). It will print when connected via the USB cable however when I try to print wirelessly, the printer dialogue indicates that the printer
-
When I receive a .jpg file attached to an email, it shows up in my email on my iPhone as a "winmail.dat" attached file and cannot open in.
-
Socket Adapter Request-Reply ~ Error occured in processing client request ~
Dear Friends, Need your help in resolving a Issue regarding Socket Adapter Request/Reply. We have a requirement to recieve Message from a External Vendor using Socket based communication,to achieve this Created a Process which has Socket Adapter Inbo
-
SyncMaster 2243nw problem with full resolution
Hi, Today i bought a SyncMaster 2243nw monitor. In the market i tried the same model with my macbook and VGA cable and i got 1680x1050 resolution on the monitor. When i got back home i tried to get the same resolution but with no luck. My macbook say
-
Sequence settings / codec for cutting iPhone material
Anyone know what settings a sequence should have for cutting video shot on an iPhone? Is the iPhone shooting NTSC (I'm assuming that's the case because if I change the settings to PAL it all needs rendering, which has a noticeable jitter after render