How to send a mail to outlook from iphone flex 4.5.1 app automatically..?
HI folks,
i have to send a mail to outlook for correpanding mailler id with out opeing outlook from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever we have given as input those values has to be send to outlook while pressing submit button on that view....(i dont want to open outlook and user action on that).
Please help out on thsi issue..
Regards,
Madhu.
Hello Madhu,
The only way to send an email without opening a client is: using server-side mail objects invoked by your app.
This would be the workflow:
- your user fills in form data (subject, body, mail_to)
- your application sends form data to a server (via httpservice or webservice or AMF)
- the server takes care of sending the mail in a way that is transparent to your user
So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.
Similar Messages
-
How to send a photo via bluetooth from iphone 5s to laptop
how to send a photo via bluetooth from iphone 5s to laptop
Connectivity between an iPhone and a computer via Bluetooth is extremely limited. It supports tethering (hotspot or internet sharing) if your cellular plan allows that but does not support transfer of photos. You can import photos from the Camera Roll to the computer via USB or via wifi as described in http://support.apple.com/kb/HT4083
-
How to send Notification mail (with attachement) from On-Demand job
Hi Experts,
I am using SAP IDM 7.2 SP8.
Requirement is to send a notification mail to a specific mail address [email protected] whenever we run a on-demand job.
On-Demand job should also attach a csv file (atttachement.csv, which is in a specific folder D:\folder) while sending the notification mail.
Please help.
Thanks & Regards,
Chandan KumarHi there,
It sounds like you have the basics all together. I would check how you are setting the following parameters of uSendSMTPMessage:
Attachment
Optional. Fully qualified file name of a file to be included as an attachment.
Multiple attachments can be added by separating the file names by a pipe character (|).
AttachmentType
Optional. Valid MIME attachment type.
Charset
Optional. Valid ISO character set identifier, for instance ISO-2022-JP. The default value is ISO-8859-1.
HeaderEncoding
Optional. 0: Plain text, 1: Base64. Default: 0
TransferEncoding
Optional. 1: 7bit, 2: 8bit, 3: Quoted ASCII, 4: Base64. Default: 4.
Sorry the first row got mangled a bit.
Matt -
HT204085 How can we delete all the data from iphone keychain of all the apps?
Is it possible to delete all the data from keychain? Cleaning keychain, which delete all the item stored in keychain of all the applications on iDevices. Programatically can we do it?
Depends whether you have selected Lock when Full or Wrap when Full for the Buffer Mode. If you have selected Lock When Full, the capture will stop when the the buffer is full. You can then Save the Buffer and download it in the form of sniffer file and start you capture again. This will over write the old data. If you have selected Wrap when Full, then it will continue the capture when the buffer is full. The oldest packets are discarded as new packets arrive.
-
Sending mail to outlook from workflow
Hi All,
I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
Searched in SDN , but my issue was not solved..
Could you please help me out with this issue to get the mail from workflow to outlook inbox.
Thanks,
PraveenaHi Praveena
see the threads,similar to you
Sending mails from SAP inbox to Outlook
Workflow - Sending mail to Outlook
For more inforamtion you can search a lot about sending mails to outlook in SCN
regards
Sachin
Edited by: sachin sharma on Feb 27, 2009 11:44 AM -
How to send a mail with HTML body from Oracle
Hi Team,
Can somebody guide me how to send a mail with HTML body from oracle.
Here is the piece of code i am trying to send a mail.
procedure SEND_MAIL is
cursor c_1 is select * from table_name;
l_mail_id varchar2(40);
-- ls_mailhost VARCHAR2(64) := Mailhost;
ls_from VARCHAR2(64) := ‘[email protected]’
ls_subject VARCHAR2(200);
ls_to VARCHAR2(64);
l_mail_conn UTL_SMTP.connection;
ls_left_menu_name VARCHAR2(64);
ll_emp_num number(8);
begin
for i in c_1 loop
begin
l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
UTL_SMTP.HELO(l_mail_conn, 'IP');
UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
UTL_SMTP.RCPT(L_mail_conn, LS_TO);
UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
'To: ' ||ls_to || utl_tcp.crlf ||
'Subject: ' ||ls_subject|| utl_tcp.crlf);
UTL_SMTP.QUIT(l_mail_conn);
exception
when no_data_found then
null;
when others then
RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
end;
end loop;
end;
ThnxHi Nicolas!
Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
Hope this helps!
Regards
Geir -
How to send a mail to a person from after completeing bdc .
Hi Xperts,
Please send me a options how to send a mail to a person after completing a bdc or from any report program.
mailed can be a sapuser or other service provider(ex:yahoo,gmail.any thing)
Please Any one i want it now .
Thank You.FUNCTION RS_SEND_MAIL_FOR_SPOO* Email ITAB structure
DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
INCLUDE STRUCTURE SOLI.
DATA: END OF EMAIL_ITAB.
DATA: T_EMAIL LIKE SOOS1-RECEXTNAM. "EMail distribution list
CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
[email protected],[email protected].
Initialization
REFRESH EMAIL_ITAB.
Populate data
EMAIL_ITAB-LINE = Email body text 1.
APPEND EMAIL_ITAB.
EMAIL_ITAB-LINE = Email body text 2.
APPEND EMAIL_ITAB.
T_EMAIL = C_EMAIL_DISTRIBUTION.
--- EMAIL FUNCTION ---------------------------------------------------
REQUIRMENTS:
1) The user running the program needs a valid email address in their
address portion of tx SU01 under external comms -> SMTP -> internet
address.
2) A job called SAP_EMAIL is running with the following parameters:
Program: RSCONN01 Variant: INT User: XXX
This program moves mail from the outbox to the mail server using
RFC destination: SAP_INTERNET_GATEWAY_SERVER
INTERFACE:
1) APPLICATION: Anything
2) EMAILTITLE: EMail subject
3) RECEXTNAM: EMail distribution lists separated by commas
4) TEXTTAB: Internal table for lines of the email message
EXCEPTIONS:
Send OK = 0 otherwise there was a problem with the send.
CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
EXPORTING
APPLICATION = 'EMAIL'
EMAILTITLE = 'Email Subject'
RECEXTNAM = T_EMAIL
TABLES
TEXTTAB = EMAIL_ITAB
EXCEPTIONS
OTHERS = 1.
Function Z_SEND_EMAIL_ITAB
""Local interface:
*" IMPORTING
*" VALUE(APPLICATION) LIKE SOOD1-OBJNAM
*" VALUE(EMAILTITLE) LIKE SOOD1-OBJDES
*" VALUE(RECEXTNAM) LIKE SOOS1-RECEXTNAM
*" TABLES
*" TEXTTAB STRUCTURE SOLI
*- local data declaration
DATA: OHD LIKE SOOD1,
OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
DATA: BEGIN OF RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF RECEIVERS.
*- fill odh
CLEAR OHD.
OHD-OBJLA = SY-LANGU.
OHD-OBJNAM = APPLICATION.
OHD-OBJDES = EMAILTITLE.
OHD-OBJPRI = 3.
OHD-OBJSNS = 'F'.
OHD-OWNNAM = SY-UNAME.
*- send Email
CONDENSE RECEXTNAM NO-GAPS.
CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
*- for every individual recipient send an Email
(see OSS message 0120050409/0000362105/1999)
WHILE RECEXTNAM CS ','.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
ADD 1 TO SY-FDPOS.
SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDWHILE.
*- check last recipient in recipient list
IF RECEXTNAM <> SPACE.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDIF.
ENDFUNCTION.
FORM SO_OBJECT_SEND_REC *
FORM SO_OBJECT_SEND_REC
TABLES OBJCONT STRUCTURE SOLI
RECEIVERS STRUCTURE SOOS1
USING OBJECT_HD STRUCTURE SOOD1.
DATA: OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = 'X'
OBJECT_HD_CHANGE = OBJECT_HD
OBJECT_TYPE = 'RAW'
OUTBOX_FLAG = 'X'
SENDER = SY-UNAME
IMPORTING
OBJECT_ID_NEW = OID
SENT_TO_ALL = TO_ALL
OFFICE_OBJECT_KEY = OKEY
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
X_ERROR = 20
OTHERS = 21.
IF SY-SUBRC <> 0.
RAISE OTHERS.
ENDIF.
ENDFORM.
FORM INIT_REC *
FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
CLEAR RECEIVERS.
REFRESH RECEIVERS.
MOVE SY-DATUM TO RECEIVERS-RCDAT .
MOVE SY-UZEIT TO RECEIVERS-RCTIM.
MOVE '1' TO RECEIVERS-SNDPRI.
MOVE 'X' TO RECEIVERS-SNDEX.
MOVE 'U-' TO RECEIVERS-RECNAM.
MOVE 'U' TO RECEIVERS-RECESC.
MOVE 'INT' TO RECEIVERS-SNDART.
MOVE '5' TO RECEIVERS-SORTCLASS.
APPEND RECEIVERS.
ENDFORM.
2. -
How to send a Mail purchase order automaticaly from ME22N
How to send a Mail purchase order automaticaly from ME22N
Hi,
First create an entry via NACE with medium = 5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
I hope this helps,
You may also refer to the SAP note 191470.
Regards
Raju Chitale -
Unable to send mails to outlook from sap system through workflow
Hi ,
Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
Please find the errors belows that traced from sost t code
02/13/2012 17:50:12 0380 MIME_MESSAGE_GENERATE G Error when generating MIME flow
02/13/2012 17:50:12 0382 MIME_MESSAGE_GENERATE G Required 'From' header is initial
02/13/2012 17:50:12 0167 SO_OBJECT_MIME_GET G Error during MIME Generation
02/13/2012 17:50:12 0777 UPDATE_SOSC G Cannot process message in SAP System
Regards
RAGHAVENADARHello,
Actually i checked the mail ID for WF-BATCH using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
ABAPer is sending mails through work flow.
Regards
RAGHAVENDAR M -
HT201250 How to recover mails of outlook from time machine
How to recover mails of outlook from time machine
This worked for me:
From Time Machine, restore a good backup of the entire "/Users/james/Library/Application Support/Address Book" folder to a different location, like to a folder on your desktop.
(note: the Library folder typically won't show up in Finder. To make it visible, in Terminal, issue this command:
defaults write com.apple.finder AppleShowAllFiles YES
then restart Finder: killall Finder )
Go offline. Do whatever you need to do to get completely disconnected from the internet (turn off Wireless, unplug the ethernet cable, etc.). Otherwise, iCloud will immediately overwrite your restore.
Delete the real folder: /Users/james/Library/Application Support/Address Book
Copy your restore (at the different location), to the real location ( /Users/james/Library/Application Support/Address Book )
Restart Contacts. Your restored data you want should be there. Before going online again, Export all these contacts (File - Export - etc...)
Go online again. iCloud will wipe out your Address Book with what's on iCloud. Re-import contacts as needed from your Export. -
cannot send or receive yahoo mail or gmail from iPhone . installed ios 6 recently. tried rebooting the phone and deleting the email account and adding again but nothing works ! can someone suggest a solution?
Not sure about yahoo, but for gmail, I done the following:
Set up using Exchange on iPhone, it'll keep prompting for password. On PC use captcha option, log in to gmail account from PC after completingg captcha option, enter password on iPhone.
See how that goes for gmail, let us know.
Hopefully someone will have fix for yahoo. -
how to send active links in email from firefox. Works in IE but not Firefox... Is there a setting to change?
== This happened ==
Every time Firefox opened
== AlwaysCheck with your web mail service provider for help with that issue.
-
How to send a mail by ckicking the button using java
hi,
how to send a mail by clicking the button (like payroll silp in that contain one button if we click that it autometically go through the mail as a attachment) pls frd to me my gmail is [email protected]Hi,
It seems we are doing the homework for you; to make you start with something; look at the sample code below and try to understand it first then put the right values
to send an email with an attachement.
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.util.Date;
import java.util.Properties;
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JTextField;
public class Main {
* @param args
public static void main(String[] args) {
// Create the frame
String title = "Frame Title";
JFrame frame = new JFrame(title);
// Create a component to add to the frame
JComponent comp = new JTextField();
Action action = new AbstractAction("Button Label") {
// This method is called when the button is pressed
public void actionPerformed(ActionEvent evt) {
System.out.println("sending email with attachment");
sendEmail();
// Create the button
JButton button = new JButton(action);
// Add the component to the frame's content pane;
// by default, the content pane has a border layout
frame.getContentPane().add(comp, BorderLayout.SOUTH);
frame.getContentPane().add(button, BorderLayout.NORTH);
// Show the frame
int width = 300;
int height = 300;
frame.setSize(width, height);
frame.setVisible(true);
protected static void sendEmail() {
String from = "me@localhost";
String to = "me@localhost";
String subject = "Important Message";
String bodyText = "This is a important message with attachment";
String filename = "c:\\tmp\\message.pdf";
Properties properties = new Properties();
properties.put("mail.stmp.host", "localhost");
properties.put("mail.smtp.port", "25");
Session session = Session.getDefaultInstance(properties, null);
try {
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.setRecipient(Message.RecipientType.TO, new InternetAddress(
to));
message.setSubject(subject);
message.setSentDate(new Date());
// Set the email message text.
MimeBodyPart messagePart = new MimeBodyPart();
messagePart.setText(bodyText);
// Set the email attachment file
MimeBodyPart attachmentPart = new MimeBodyPart();
FileDataSource fileDataSource = new FileDataSource(filename) {
@Override
public String getContentType() {
return "application/octet-stream";
attachmentPart.setDataHandler(new DataHandler(fileDataSource));
attachmentPart.setFileName(filename);
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messagePart);
multipart.addBodyPart(attachmentPart);
message.setContent(multipart);
Transport.send(message);
} catch (MessagingException e) {
e.printStackTrace();
}The sample above is not ideal so you need to go through it and start to ask me some questions if you have
Let me know if you miss something
Regards,
Alan Mehio
London,UK -
How to Send an Email to Outlook using process type in RSPC?
Hi,
How to Send an Email to Outlook using process type in RSPC?
We created lot of process variants, actually we want to send an mail to users if the DP Background job was succesfully finished.
Actually i tried with create message its not happening...
Plz let me know .. its urgent ...
Regards,
SatishHello Satish,
If you want to send a friendly message to your users, then you can do this by building an ABAP program that calls function module SO_NEW_DOCUMENT_SEND_API1 . You can then insert this ABAP program in your process chain (using the ABAP program process type) or as a second step in your background job. With this technique, you can send an email to SAP users, or to external users (e..g Outlook email addresses)
Here's a sample ABAP code:
data: ls_docdata type SODOCCHGI1,
lt_objcont type table of solisti1,
lt_receivers type table of somlreci1,
ls_objcont type solisti1,
ls_receivers type somlreci1,
ls_user type syuname.
* Fill these variables with subject and msg lines that you need.
data: MAIL_SUBJECT TYPE STRING,
MSG_LINE1 TYPE STRING,
MSG_LINE2 TYPE STRING,
MSG_LINE3 TYPE STRING,
MSG_LINE4 TYPE STRING,
MSG_LINE5 TYPE STRING.
ls_docdata-obj_descr = mail_subject.
ls_objcont-line = msg_line1.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line2.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line3.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line4.
append ls_objcont to lt_objcont.
ls_objcont-line = msg_line5.
append ls_objcont to lt_objcont.
* t_userlist contains the list of users to whom th email will be sent.
loop at t_userlist into ls_user.
ls_receivers-receiver = ls_user.
"Change the type here if email is for outlook users, See documentation
" of function module in SE37
ls_receivers-rec_type = 'B'.
ls_receivers-express = 'X'.
append ls_receivers to lt_receivers.
endloop.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_docdata
tables
OBJECT_CONTENT = lt_objcont
receivers = lt_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
You can test out the function module first in SE37 (just put the name of the FM and click execute). Testing it in SE37 will help you get your parameters right.
Hope this helps. -
I developed a system where users can login and check for updated information and documents. But the changes are made once or twice in a year. I want to send email after changing the documents. I stored email addresses in the DB. Now the question is how to send e-mails to concerned users without using external software (Outlook, etc.). [Considering same subject and message for all e-mails.]
Go to Java Mail forum:
http://forum.java.sun.com/forum.jsp?forum=43
Maybe you are looking for
-
How to tell between SATA2 and SATA3 hard drives?
Hello all. Googled my little fingers off and couldn't find a clear answer to this ... How (the heck) do you find out if a hard drive is SATA3 or SATA2 and/or how do you find out if a hard driveis 6Gb/s or 3Gb/s? The situation: WIth the price coming d
-
Firefox recently updated. Now, printing a web page results in left side printed on p.1, right side on page 2. Using the same Canon D9000 printer. Selecting horizontal format causes the left side of page to be printed 1/2 size on 1/4 page! Printing sa
-
Cannot access class javax.jms.TextMessage;
Hi, I am trying to run standard page from JDev and i am getting below error from EOImpl.java. " cannot access class javax.jms.TextMessage; file javax\jms\TextMessage.class not found " I tried to import javax/jms dir to my local machine but i could no
-
Hi Experts , Presently we have SRM 5.0 , but i have a querry that why we are using XI instead of Middleware . Pls suggest your kind concerns . Thanks , Raj ...
-
URLClassLoader Issue on instantiation
Situation: Running in a servlet, the following class loader is created: URL[] urls = new URL[2]; urls[0] = new URL("file://lib/lib1.jar"); urls[1] = new URL("file://lib/lib2.jar"); URLClassLoader loader = new URLClassLoader(urls, this.getClass().getC