How to send e-mails using the RIM api.
Hi all
My requriement, it's that I need to develop an application to send e-mail using only the RIM api. Please help me by sending an email using the RIM api. I use version 4.7.0.41 JDE
Through this Developer's Guide, Section, 'Integrate Messages'.
http://NA.BlackBerry.com/eng/deliverables/608/BlackBerry_Application_Developer_Guide_Volume_2.PDF
Tags: BlackBerry Developers
Similar Questions
-
How to send an email using the BlackBerry API.
Hi all
as topic, do you know if BlackBerry offers some API to send email?
If yes what OS are supported? For example, OS 4.2 or higher?Will there be some indications on how to use this API?
Have you actually looked for more information on making yourself?
I suggest that you do and you can do before posting questions in general.
I look at the developer's guide, search in this forum and the KB. I think that you will find information that will help you to do what you want in all three places.
-
How to send files TDMS using the TCP/IP protocol
Hello
I work with the cRIO-9025, cRIO-9118 chassis and module NI 9239.
I did an acquisition (voltage) where data are in 1 d Wfm SGL. I saved these data using a PDM file, but now I want to send this file to another computer (in this case mine) because the file is stored in the target. I have implemented this example:
http://zone.NI.com/DevZone/CDA/EPD/p/ID/2842#0requirements
The problem is that the tdms file is created but it has all the data. I have attached the image of the program. The program is in the other (not that I use to make Acq) to make it easy and then works when it works.
* The file name of the client is not used because I had a conflict with the path.
What I'm looking for, is to make an acquisition of 10 minutes every 30 minutes and then send this data to another computer (or other). I don't know if it's the best way, is perhaps better to send data at the same time as the acquisition is made, but my teacher told me that are easier if I send the file when acquiring ended. Acq, I use FPGA and RT.
I would appreciate your help. Thank you!!
-
Create/modify users using the RequestService API
Hello
I would like to create or modify users of IOM, by using the API RequestService (RequestService (Oracle Fusion Middleware Java QAnywhere for Oracle Identity Manager)), but currently, I do not know how!
Currently I use the UserManager API to create/modify users:
UserManager userManager = Platform.getService(UserManager.class); HashMap<String, Object> userAttributeValueMap = new HashMap<String,Object>(); User user = new User("MyNewOIMUser", userAttributeValueMap); userManager.create(user);
It works very well, but it is not possible to 'Create the user approval Workflows' using this trigger mechanism. (use this code snippet in a custom scheduled task)
I've already found some examples of code, using the RequestService API, but nobody uses this api to create/modify users. (https://java.net/projects/openptk/sources/svn/show/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request)
Ideas/tips/code samples to specify this use case?
BR,
Mint
This API allows you to submit the application:
Oracle Fusion Middleware Java QAnywhere for Oracle Identity Manager
doOperation (RequestData requestData, OIMService.Intent intention)
This will allow you to submit and do force a request, direct provision or use some permissions has the person making the presentation for administrative roles to determine whether it is direct or claim.
-Kevin
-
How to send a mail with attachment no matter what file use the invoke in os 6.0?
Hello
There is some issue that how to send a mail with attachment to use the invoke method in os 6.0?
"I use the Transport at this time mail send successfully, but I use the invoke to throw this error time these error ismail service does not support these tyes of change of parts joined the send using field or remove attachments ' so how do?
Thank you
Hi, rishabh
Thanks.i got the solution and super work Super-Duper hit.
Thnaks,
Umang.
-
Cannot receive or send mail using the Windows Mail get 0x800CCC18 error number
How can I fix the problem?
Cannot receive or send mail using the Windows Mail get 0x800CCC18 error number
Windows mail was working fine until about 2: 30 EST 2011-12-14 and tried to send an email and got the above error msg.Check with your mail service provider to make sure that there is not an intermittent interruption of service. If you have webmail capabilities, you can also check. Otherwise, compact and repair the database (www.oehelp.com/WMUtil/) and if that doesn't help, remove your e-mail account, close and reopen WinMail and then add it back back. Also check 3rd party program interference such as antivirus software (see www.oehelp.com/OETips.aspx#3).
Steve
-
Send an e-mail using the Oracle database
Hello!
I installed Oracle 10 g (10.2.0.4) and I need to send an email using this database. In some notes said to run the following script, but in my case Oracle I don't have the owner "MailSender" or the AptMail function.
Start
dbms_output.put_line (mailsender. AptMail ('p_from', 'p_to', null, null, 'p_subject', null, 'p_smtp_host', null, null, null));
END;
Can someone explain if it is the right method to send an email using the Oracle database? If so how can I install it?
Thank you
AugustoOracle 10.2 comes with UTL_MAIL package.
Give it a read through the documentation. It's pretty simple to use.
-
How to send an email to the entire group
Original title: sending a group e-mail
I created a group in my contacts, but don't know how to send an email to the entire group. When I type in the name of Group 5 of the 25 show upward. I'm doing something wrong.
You will need to provide much more information. For example, what email program are you using? Is it perhaps Windows Live Mail 2012?
-
How to send a file to the cloud?
(1) how to send a file to the cloud?
(2) at - it a difficulty to find and recover a file that has been sent to the cloud? If the use is similar to the use of an external hard drive, I don't mind.
The following contains information on how to activate and use iCloud drive. Note that with iCloud as it exists currently with OS X El Capitan, for any file stored in iCloud drive a local copy is also stored on your Mac.
-
HP Laser Jet MFP M127fn Pro: How to send a fax using speed dial?
I have a new HP Laser Jet MFP M127fn Pro: how to send a fax using speed dial, I entered already numbers in the address book.
I'm embarrassed to say that I spent several hours trying to get the speed dial to work on a M127fn. It turns out that there really no speed dial. That's the conclusion of at least a HP tech that actually used the machine. Another tech was able to describe a way to fax a phonebook entry, but it is quite too complicated to be called a speed dial.
[1] press the button settings (key).
[2] press the right arrow to access the phone book.
[3] press OK button.
[4] use the right or left buttons to reach the desired phone book entry.
[5] press the OK button to reveal the label for the entry, or "empty" if it is not set.
[6] press the OK button if the element is set to display the fax or dialing options.
[7] press FAX to initiate a fax to this phone book entry.
My users find it much easier to have their phone numbers pasted on the machine where they can connect looking them to instead scroll through menus, for the right option.
It seems that there is some sort of disconnect between hardware, firmware, and technical writers on this machine, because this ancient feature has been neglected, and the user guide is left to sputter on the issue.
-
This had led me batty since I got the phone. My mail server is on my local network. If I send an email from the local network without wire of the pre to my mail server quite well. If I try to send an email via the network of sprint - or actually on the network wireless anyone, he's going through. I can sit here a my firewall monitor and the see through and I can also see it connect to my email server, so I know not that there is a good connection there. I don't have any problems with imap works in any situation with the pre, so I'm sure something happens.
My firewall rules are the same for IMAP/IMAP-SSL/ESMTP/ESMTP-SSL (with just the ports change.) I am able to send an email from my client of the laptop to my mail... Server and able to send an email from my Treo 755 p using snappermail on the network of sprint very well.
The firewall is PFSense 1.2
Mail server is Courier 0.62.1 running on Centos 4.7 (no firewall running ip)
Really confused!
Thank you
Done this, and it still doesn't get me anywhere.
But I end up finally solve the problem...
It seems that my server ident checks had to timeout... who was taking too long for the final customer... so needless to say I said to my server does not perform a check ident and email send accelerated time. good thing is this speeds also send other things too.
It seems that the timeout for sending electronic mail of the pre is 'short' as< 30="" seconds="" or="" so..="" i'm="" not="" sure="" what="" the="" standard="" timeout="" should="" be..="" but="" my="" issue="" appears="" to="" be="">
Thanks halula for trying to direct me towards some additional info, but that debug information was not useful... I ended up doing some pre openssl commands and synchronization between local and remote have been, well... huge... once I passed this point... a moment of work helped google in the right direction.
-
How to send a notification to the user at a specific time
Hi all
How can I send a notification to the user? Currently I have this in my c ++ but it does not display notifications?
Any suggestions are welcome.
Thanks in advance.
#include
#include #include #include using namespace bb::platform; void sendNotification::onNotificationResponse() { Notification* pNotification = new Notification(); qDebug() << "Notifying"; pNotification->setTitle("Maintenance Reminder"); pNotification->setBody("Maintenance will be starting in 30 minutes."); pNotification->setTimestamp(QDateTime::fromString("2013-11-28 18:00:00", "yyyy-MM-dd hh:mm:ss")); pNotification->notify();} If your application is frozen you can of course check the time periodically nuer a QTimer, or other methods.
If your application is not running currently, there is unfortunately no nice way to do a trigger invocation time based (except for the phone to boot) does not yet exist (or at least is not readily available yet).
Thus, three methods either go in the sense of time running headless, use the calendar api or have a mechanism external push of a server.
-
Send a mail using java in oracle 11 g
I using database 11 g...
I created a procedure to send a mail using java... as below
[code]
CREATE OR REPLACE AND COMPILE JAVA NAMED "SendAttach" AS SOURCES
import java.util.Properties;
Javax.mail import. *;
Javax.mail.internet import. *;
Javax.activation import. *;
public class SendAttach {}
Public Shared Sub sendmail (recipient String, object, String, String msg, String file)
{
String host = "smtp.gmail.com; »
" the end user String = ' [email protected] '; change accordingly
final String password = "psd"; changes accordingly
String to = recipient; changes accordingly
Properties props = new Properties ();
props.put ("mail.smtp.host", "smtp.gmail.com");
props.put ("mail.smtp.socketFactory.port", "465");
props.put ("mail.smtp.socketFactory.class",
"javax.net.ssl.SSLSocketFactory");
props.put ("mail.smtp.auth", "true");
props.put ("mail.smtp.port", "465");
A session = Session.getDefaultInstance (accessories,
new javax.mail.Authenticator () {}
protected PasswordAuthentication getPasswordAuthentication() {}
return new PasswordAuthentication (user, password);
}
});
try {}
MimeMessage message = new MimeMessage (session);
message.setFrom (new InternetAddress (user));
message.addRecipient (Message.RecipientType.TO, new InternetAddress (to));
message.setSubject (subject);
BodyPart messageBodyPart1 = new MimeBodyPart(); newly added
messageBodyPart1.setText (msg); newly added
message.setText (msg);
MimeBodyPart messageBodyPart = new MimeBodyPart();
Several multipart part = new MimeMultipart();
messageBodyPart = new MimeBodyPart();
String file1 = file;
String fileName = "sql";
Data source source = new FileDataSource (file1);
messageBodyPart.setDataHandler (new DataHandler (source));
messageBodyPart.setFileName (fileName);
multipart.addBodyPart (messageBodyPart);
multipart.addBodyPart (messageBodyPart1);
message.setContent (multipart);
Transport.Send (message);
System.out.println ("message sent successfully...");
} catch (MessagingException e) {e.printStackTrace () ;}
}
}
/
It works finw with sysdba login.
But it gives below error when I connected as user (ori) my username
Help me to solve the problem...
Thank you all for the response guys...
Finally, I have soluion...
Please follow these steps. If you want to do the same thing
step 1: connect sysdba virtue
step 2:grant the bottom of the permissions for the database
- Call dbms_java.grant_permission ('ORI',
- ("java.util.PropertyPermission ',' * ',"read, write");
- run dbms_java.grant_permission('ORI','java.util.PropertyPermission','*','read').
- run dbms_java.grant_permission ("ORI", 'SYS:java.lang.RuntimePermission', 'getClassLoader', ' ');
- run dbms_java.grant_permission ("ORI", 'SYS:oracle.aurora.security.JServerPermission', 'Check', ' ');
- run dbms_java.grant_permission ("ORI", 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', ' '); run dbms_java.grant_permission ("ORI", 'java.net.SocketPermission', ' *', ' connect, solve ");
- run dbms_java.grant_permission ("ORI", 'SYS:java.lang.RuntimePermission', 'createClassLoader', ' ');
Note: replace ORI with your user_name DB
Step 3: Download 2 jar files jaf - 1.1.1 and javamail - 1.1.1.jar oracle community network
Step 4: Unzip these two files in sphecific folder.so you can find two jar files activation.jar and mail.jar
step 5:now open the command prompt in the path where the files two jar are placed in and loading these two pots in DB using below command
loadjava-user U_name/PSD - solve - synonym mail.jar
loadjava-user U_name/PSD - solve - synonym activation.jar
step 6:now run your java process
[code]
CREATE OR REPLACE AND COMPILE JAVA NAMED "SendAttach" AS SOURCES
import java.util.Properties;
Javax.mail import. *;
Javax.mail.internet import. *;
Javax.activation import. *;
public class SendAttach {}
Public Shared Sub sendmail (recipient String, object, String, String msg, String file)
{
String host = "smtp.gmail.com; »
the final String user = "mail_id"; changes accordingly
final String password = 'email_password '; changes accordingly
String to = recipient; changes accordingly
Retrieve the session object
Properties props = new Properties ();
props.put ("mail.smtp.host", "smtp.gmail.com");
props.put ("mail.smtp.socketFactory.port", "465");
props.put ("mail.smtp.socketFactory.class",
"javax.net.ssl.SSLSocketFactory");
props.put ("mail.smtp.auth", "true");
props.put ("mail.smtp.port", "465");
A session = Session.getDefaultInstance (accessories,
new javax.mail.Authenticator () {}
protected PasswordAuthentication getPasswordAuthentication() {}
return new PasswordAuthentication (user, password);
}
});
Compose the message
try {}
MimeMessage message = new MimeMessage (session);
message.setFrom (new InternetAddress (user));
message.addRecipient (Message.RecipientType.TO, new InternetAddress (to));
message.setSubject (subject);
BodyPart messageBodyPart1 = new MimeBodyPart(); newly added
messageBodyPart1.setText (msg); newly added
message.setText (msg);
MimeBodyPart messageBodyPart = new MimeBodyPart();
Several multipart part = new MimeMultipart();
messageBodyPart = new MimeBodyPart();
String file1 = file;
String fileName = "sql";
Data source source = new FileDataSource (file1);
messageBodyPart.setDataHandler (new DataHandler (source));
messageBodyPart.setFileName (fileName);
multipart.addBodyPart (messageBodyPart);
multipart.addBodyPart (messageBodyPart1);
message.setContent (multipart);
Send the message
Transport.sendMessage (message, to);
Transport.Send (message);
System.out.println ("message sent successfully...");
} catch (MessagingException e) {e.printStackTrace () ;}
}
}
/
step 7:
CREATE or REPLACE procedure NAME of JAVA LANGUAGE AS Send_Attach (container VARCHAR, subject VARCHAR, msg VARCHAR, leader VARCHAR) "SendAttach.sendmail (java.lang.String, java.lang.String, java.lang.String, java.lang.String);
/
step 8: say commit.
step 9:
Declare
beneficiary varchar (50): = "recipient_id";
subject varchar (100): = "Hello";
MSG varchar (500): = 'this is a test mail with an attachment;
varchar (100) file: = "path of the file"; file path - weed
Begin
dbms_java.grant_permission('ORI','java.) IO. FilePermission ', leader,' read');
Send_Attach (container, Subject, MSG, file);
End;
[\commit]
Note: disable windows firewall and anti virus before phone emails
keep smiling...
-
Unable to send anything by using the wifi-direct
Hello
I bought the sony led tv rear 2 days that I want to share files using the wifi-direct, I have the wifi direct on my TV as well as on my smart phone as I have sony xperia z1. the two devices are connected succssfully but I'm still not able to send any file using the wifi-direct .i was tempted to send aid to throw option and office 7 also the instructions of customercare people but then also I am not able to send.can anyone please help me in this.
Thank you
Tarun mehrotra
-
How can I reset passwords using the hidden administrator account?
Original title: hidden admin account
How can you reset pass using the hidden account dmin. ? That can make the admin account hidden?
I have windows vista and I am the only administrator and user of my laptop.
Hello
You cannot use the hidden administrator account to reset the password. If you forget your only means of password to reset using the password reset disk. See the article below for further assistance.
What to do if you forget your Windows password
http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-passwordActivate hidden administrator account gives you access to the files or the privileges if you are denied access in some cases.
Hope this information helps.
Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
Maybe you are looking for
-
Screen flickering on the new Satellite R850-10F
Hello I bought my Toshiba computer 3 days ago and my computer laptop screen flickers randomly, especially when the computer is running (CPU load or data WIFI). Twinkle is similar to this image:http://olavthoresen.com/Pandora/flickering.jpg (I just fo
-
HP Deskjet D2460: HP DESKJET D2460 not print and keeps blinking on power light
the printer does not work. It has not been used for almost 3 years I think but the power button blinks and I just got new ink. I installed the cartridge there properly and the computer recognizes it but it will not print anything. its status says rea
-
Is a TWAIN driver included in the all-in-One printer driver download 6525 Phtosmart?
I try to use the new mobile deposit my Bank offered recenly, but it requires a TWAIN driver. I downloaded the drivers under e6525 but I'm still not able to attend the service as my printer does not appear in the printers available to the bottom (the
-
Connection to the network with Vista and Windows 7 computers
A similar question was answered before, but it's XP computers I use Vista and Windows 7. I have a Windows 7 computer that is part of a home network and who also has a connected printer. I want to access the printer from a Vista computer that is also
-
How to add administrative rights for pc
Hello, I want to add the permission admin for photos, files and the router password. How can I do to do that. Thank you.