Issue in send mail activity
hi experts,
when my workflow is triggering for the event " change" i have used the business object " BUS2032" ,i need to send a mail.my workflow is triggering fine and i get the mail..but i receive two same mails in the business workplace..i did try with business object VBAK,even for that i receive two mails in my inbox,what could be the issue?
Thanks in advance,
lokesh.
hi,
Switch on the Event trace (SWELS ) and trigger the event.
Switch off the Event trace and then in Event Display (SWEL) check the Workflows trigger for the particular Event.
This Might Help.
Regards
Sumit Agarwal
Similar Messages
-
Issue while sending mails using classes
Hi Experts ,
i have one issue when i try to send mails using classes cl_document_bcs,cl_cam_address_bcs,cl_bcs etc
ISSUE :
i put some data in selection screen and i get some output ( say i got 5 records), i select 3 records and press some button to trigger mail and mail is send, and now again the OUTPUT screen is shown with sended records but we can not send these records again ............ now i selcect remaining two records and press button to trigger mail and THIS TIME MAIL IS NOT SEND.
amd my code is :
CREATE OBJECT l_document.
CREATE OBJECT l_recipient.
TRY.
cl_bcs_convert=>string_to_solix(
EXPORTING
iv_string = fp_wa_output
iv_codepage = fp_v_code_page
iv_add_bom = 'X'
IMPORTING
et_solix = l_wa_output_binary
ev_size = l_v_size ).
l_send_request = cl_bcs=>create_persistent( ).
*-->Creating Document
l_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = fp_it_content[]
i_subject = fp_text_48 ) .
*-->Adding Attachment*
CALL METHOD l_document->add_attachment
EXPORTING
i_attachment_type = fp_text_049
i_attachment_size = l_v_size
i_attachment_subject = fp_v_file
i_att_content_hex = l_wa_output_binary.
*-->Add document to send request*
CALL METHOD l_send_request->set_document( l_document ).
* do send delivery info for successful mails
CALL METHOD l_send_request->set_status_attributes
EXPORTING
i_requested_status = 'E'
i_status_mail = 'A'.
*-->Get Sender Object
l_uname = sy-uname.
l_sender = cl_sapuser_bcs=>create( l_uname ).
CALL METHOD l_send_request->set_sender
EXPORTING
i_sender = l_sender.
LOOP AT fp_s_mail INTO l_wa_mail.
l_v_objid = l_wa_mail-low.
l_v_mail = l_v_smtpadr.
TRANSLATE l_v_mail TO LOWER CASE.
l_recipient = cl_cam_address_bcs=>create_internet_address( l_v_mail ).
CALL METHOD l_send_request->add_recipient
EXPORTING
i_recipient = l_recipient
i_express = 'X' .
* i_copy = ' '
* i_blind_copy = ' '
* i_no_forward = ' '.
ENDLOOP.
**-->Trigger E-Mail immediately*
* IF fp_send_all EQ 'X'.
* l_send_request->set_send_immediately( 'X' ).
* ENDIF.
CALL METHOD l_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING result = l_v_sent_to_all ).
BREAK TARK.
IF l_v_sent_to_all = 'X'.
MESSAGE i000 .
ENDIF.
COMMIT WORK.
CATCH cx_document_bcs INTO l_bcs_exception.
CATCH cx_send_req_bcs INTO l_send_exception.
CATCH cx_address_bcs INTO l_addr_exception.
CATCH cx_bcs INTO l_exp.
ENDTRY.
thanks in advance
rahulEvery time when i choose other network or dongle to send those mails it gets sent.
As per the description, seems it's an issue related to this specific network. Probably, they've adjusted their security policy, like blocked some port numbers, etc.
You might need to contact the support of your ISP to confirm what SMTP settings you need. Check port number, and security settings.
By the way, this is the forum to discuss questions and feedback for Windows-based Microsoft Office client. Since your query is directly related to
Office for mac, I would suggest you to post in the forum of
Office for Mac, where you can get more experienced responses:
http://answers.microsoft.com/en-us/mac/forum/macoffice2011?tab=Threads
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Issue with sending mail through java stored procedure in Oracle
Hello
I am using Oracle 9i DB. I created a java stored procedure to send mail using the code given below. The java class works fine standalone. When its run from Java, mail is sent as desired. But when the java stored procedure is called from pl/sql "Must issue a STARTTLS command first" error is thrown. Please let me know if am missing something. Tried the same code in 11.2.0.2 DB and got the same error
Error:
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. va6sm31201010igc.6
Code for creating java stored procedure: (T1 is the table created for debugging)
==================================================
create or replace and compile java source named "MailUtil1" AS
import java.util.Enumeration;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
public class MailUtil1 {
public static void sendMailwithSTARTTLS(String host, //smtp.projectp.com
String from, //sender mail id
String fromPwd,//sender mail pwd
String port,//587
String to,//recepient email ids
String cc,
String subject,
String messageBody) {
try{
Properties props = System.getProperties();
props.put("mail.smtp.starttls.enable", "True"); // added this line
props.put("mail.smtp.host", host);
props.put("mail.smtp.user", from);
props.put("mail.smtp.password", fromPwd);
props.put("mail.smtp.port", port);
props.put("mail.smtp.auth", "true");
#sql { insert into t1 (c1) values ('1'||:host)};
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
#sql { insert into t1 (c1) values ('2')};
InternetAddress[] toAddress = new InternetAddress[1];
// To get the array of addresses
for( int i=0; i < toAddress.length; i++ ) { // changed from a while loop
toAddress[i] = new InternetAddress(to);
//System.out.println(Message.RecipientType.TO);
for( int i=0; i < toAddress.length; i++) { // changed from a while loop
message.addRecipient(Message.RecipientType.TO, toAddress);
if (cc!=null) {
InternetAddress [] ccAddress = new InternetAddress[1];
for(int j=0;j<ccAddress.length;j++){
ccAddress[j] = new InternetAddress(cc);
for (int j=0;j<ccAddress.length;j++){
message.addRecipient(Message.RecipientType.CC, ccAddress[j]);
message.setSubject(subject);
message.setText(messageBody);
message.saveChanges();
#sql { insert into t1 (c1) values ('3')};
Enumeration en = message.getAllHeaderLines();
String token;
while(en.hasMoreElements()){
token ="E:"+en.nextElement().toString();
#sql { insert into t1 (c1) values (:token)};
token ="ConTyp:"+message.getContentType();
#sql { insert into t1 (c1) values (:token)};
token = "Encod:"+message.getEncoding();
#sql { insert into t1 (c1) values (:token)};
token = "Con:"+message.getContent();
#sql { insert into t1 (c1) values (:token)};
Transport transport = session.getTransport("smtp");
#sql { insert into t1 (c1) values ('3.1')};
transport.connect(host, from, fromPwd);
#sql { insert into t1 (c1) values ('3.2')};
transport.sendMessage(message, message.getAllRecipients());
#sql { insert into t1 (c1) values ('3.3')};
transport.close();
#sql { insert into t1 (c1) values ('4')};
catch(Exception e){
e.printStackTrace();
String ex= e.toString();
try{
#sql { insert into t1 (c1) values (:ex)};
catch(Exception e1)
Edited by: user12050615 on Jan 16, 2012 12:18 AMHello,
Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
Thanks
Srikanth
Edited by: user12050615 on Jan 16, 2012 12:17 AM -
What's the needed configuration in a "send Mail" activity?
Hi,
I'm using Studio 5.7 and trying to use the "send Mail" but I've got the following error:
Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 must be authenticated
I've configured the Studio's Engine in Run>Engine Preferences>General with my SMTP server (just as is in Outlook) and with a valid email account, the "recipient" and "from" fields in the sintaxis are also valid email accounts.
Any idea about this?
RegardsThanks for the replies,
Apparently this is the solution but, I have an issue, the user is the complete email address I mean; user = [email protected]
If I use [email protected]:[email protected], I get the following error:
Could not connect to SMTP host: expert.com.mx, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
javax.mail.MessagingException: Could not connect to SMTP host: expert.com.mx, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at fuego.io.SMTPClient.sendMail(SMTPClient.java:325)
at fuego.components.OutgoingServerDebug.send(OutgoingServerDebug.java:40)
at fuego.components.Mail.send(Mail.java:713)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
at fuego.lang.ObjectTypeDescription.invokeMethod(ObjectTypeDescription.java:1247)
at fuego.lang.MethodTypeDescription.invoke(MethodTypeDescription.java:1133)
at fuego.compiler.Invoke$MethodCall.run(Invoke.java:1580)
at fuego.compiler.Invoke.runCall(Invoke.java:710)
at fuego.compiler.Invoke.run(Invoke.java:694)
at fuego.compiler.Block.run(Block.java:317)
at fuego.compiler.DoBlock.run(DoBlock.java:676)
at fuego.compiler.Method.run(Method.java:1223)
at fuego.compiler.Method$Adaptor.run(Method.java:1894)
at fuego.compiler.FuegoInvokeable.invoke(FuegoInvokeable.java:426)
at fuego.compiler.CodeRunner$DebuggerRunnable.runMethod(CodeRunner.java:756)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
at fuego.lang.JavaObject.invoke(JavaObject.java:185)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:759)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:734)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:140)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:132)
at fuego.compiler.DebuggerPrincipal.processBatch(DebuggerPrincipal.java:62)
at fuego.component.ExecutionThread.work(ExecutionThread.java:818)
at fuego.component.ExecutionThread.run(ExecutionThread.java:397)
and if I use user:[email protected] I get this error:
javax.mail.AuthenticationFailedException
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at fuego.io.SMTPClient.sendMail(SMTPClient.java:325)
at fuego.components.OutgoingServerDebug.send(OutgoingServerDebug.java:40)
at fuego.components.Mail.send(Mail.java:713)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
at fuego.lang.ObjectTypeDescription.invokeMethod(ObjectTypeDescription.java:1247)
at fuego.lang.MethodTypeDescription.invoke(MethodTypeDescription.java:1133)
at fuego.compiler.Invoke$MethodCall.run(Invoke.java:1580)
at fuego.compiler.Invoke.runCall(Invoke.java:710)
at fuego.compiler.Invoke.run(Invoke.java:694)
at fuego.compiler.Block.run(Block.java:317)
at fuego.compiler.DoBlock.run(DoBlock.java:676)
at fuego.compiler.Method.run(Method.java:1223)
at fuego.compiler.Method$Adaptor.run(Method.java:1894)
at fuego.compiler.FuegoInvokeable.invoke(FuegoInvokeable.java:426)
at fuego.compiler.CodeRunner$DebuggerRunnable.runMethod(CodeRunner.java:756)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
at fuego.lang.JavaObject.invoke(JavaObject.java:185)
at fuego.component.Message.process(Message.java:585)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:759)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:734)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:140)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:132)
at fuego.compiler.DebuggerPrincipal.processBatch(DebuggerPrincipal.java:62)
at fuego.component.ExecutionThread.work(ExecutionThread.java:818)
at fuego.component.ExecutionThread.run(ExecutionThread.java:397)
How can I specify this kind of users?
Regards. -
Send mail Activity step is inprocess
Hi All,
I have used one Activity step in my workflow , in that activity step send mail to approver function module written and defined that step as (method)back ground method. i have used SO_DOCUMENT_SEND_API1 for sending mail in side my custum function module.
My prblem is this method is working fine , some times in prodcution this step got stuck and status is inprocess, i have also checked my workflow container and task container valuses are passed from workflow containe to task container, after that we are passing the same values from task container to method container. here we are facing the problem.
I have used the same data types for all container elements
some times only this step got stuck and status is showing inprocess.
My doubt is this prblem related to mail server problem or workflow activity step problem.
if any body facing this kind of problem please suggest me.
Regards,
SivaException condition "X_ERROR" raised.
Error analysis
A RAISE statement in the program "SAPLSOI1" raised the exception
condition "X_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
Internal error or database inconsistency
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"SAPLSOI1" or "LSOI1U32"
"SO_DOCUMENT_SEND_API1"
or
"SAPLSOI1" "X_ERROR" -
Mail to Mail Mapping Issue in sender mail adapter
Hi,
i am using mail package and XIPAYLOAD in my sender mail adapter.
In the mapping i am getting the payload as an HTML Text.
When use UDF to read a string the from the Mail Body, i am getting corect value, but when change the test data with only in that string place (if i put other value) from mail body, i am getting different value from same index of the position.
Please let me know the reason and solution.
Regards.
SreeniHi,
I replaced all the HTML tags and other stuff with empty space using UDF.
thanks for your support.
Regards,
Sree -
Issue with Sender Mail Adapter Configuration
Hi All,
We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
Default XI Parameters : Default Interface Namespace and Default Interface Name.
Also, we are geeting a Nullpoinetr exeception in RWB.
Kindly provide your suggestions.
Thanks & Regards,
Navneeth K.Hi.
I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
AF_Modules/DynamicConfigurationBean Local Enterprise Bean
with
parameters:
message.interface=<Your Interface Name>
and
message.interfaceNamespac=<Your Interface Namespace>
Note that last parameter name is not interfaceNamespace but interfaceNamespac .
It would be great if anyone will explane were Default XI parameters gone and how we can get them back. -
Have issues with sending mail on WIFI?
Everything else seems to work on WIFI except sending mail, even receives fine.
It always sits in the que & then errors out?What kind of WiFi, your home, or public? SMTP servers (outgoing mail servers) are picky about who you are and where you are sending from. This is to prevent spammers from using them by impersonating legitimate users. It's also why the iPhone lets you set up more than one SMTP server; if you have several it will try them in sequence until it finds one that works. But it gives each one a minute to try, so if you have several it can take a while to try them all.
If you can send over 3G its likely that you have your cellular carrier's SMTP server configured on the phone. If this is the only one it's also likely that it won't work on WiFi, because it will only work over the cellular carrier's network. For your home WiFi you need to have (or add) your ISP's SMTP server to the list of outgoing mail servers. Depending on the ISP this may or may not work over the cellular network or other WiFi networks outside your home network. Usually if the ISP's server requires a user ID and password it will work outside of their network.
When setting up an SMTP server user ID and password are listed as "optional". This may or may not be correct, depending on the SMTP server you are trying to use. It may be optional for the iPhone, but may be required by the SMTP server owner. So you need to check with the ISPs web site for how to configure the server. -
Issue in sending mail while processing PROXY in ECC 6.0
We are implementing PROXY interface with below required functionality:
1.PROXY for posting Accounting Documents
2.For error records, send Error Log (in PDF Format) as E-Mail to recipient maintained separately for the company code
Issue:
-The Email is not getting triggered when XI is sending the input file to ECC through PROXY. Whereas Email is getting generated when PROXY is executed manually in ECC.
Help Needed:
-Please share your inputs on the above issue.Check in SMB_MONI in ECC if message is generated correctly for proxy? If the data is correctly passsed.
Also check SOST.
Regards
Vinit -
Small issue in sending mail to sap-inbox via classes
Hi All,
I am working in sending SAP mail to sap-inbox via classes..
Which i am able to work out..But got some minor struck off where when i am sending the mail from sap-report
it is sucesfully reaching the user ....
Issue is In the sap-inbox mail it is not only showing the
Created: Sender user name
it is also showing the Changed :Sender name only
How to restrict the changed should not display ...
Waiting for your response....
*Creates persistent send request
TRY.
L_SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
* Creating Document
L_DOCUMENT_SAS = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
I_TYPE = 'HTM'
I_TEXT = I_CONTENT[]
I_SUBJECT = 'Automated HRIS (SAP) Report' ).
*PERFORM PREPARE_ATTACHMENT.
* Adding Attachment
CALL METHOD L_DOCUMENT_SAS->ADD_ATTACHMENT
EXPORTING
I_ATTACHMENT_TYPE = C_EXT
* I_ATTACHMENT_SIZE = L_SIZE
I_ATTACHMENT_SUBJECT = 'Hr Details r.xls'
I_ATT_CONTENT_HEX = L_XML_TABLE. "i_attach.
* I_ATT_CONTENT_TEXT = l_XML_TABLE.
Sas
Edited by: saslove sap on Oct 22, 2009 7:05 AM
Edited by: saslove sap on Oct 22, 2009 7:07 AMcontd...
* document to send request
CALL METHOD L_SEND_REQUEST->SET_DOCUMENT( L_DOCUMENT_SAS ).
DATA:LR_SENDER TYPE REF TO IF_SENDER_BCS,
LR_SEND TYPE REF TO CL_BCS.
* Preparing the sender object
* LR_SENDER = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS( sy-uname ).
DATA: L1_UNAME TYPE SY-UNAME.
L1_UNAME = SY-UNAME.
LR_SENDER = CL_SAPUSER_BCS=>CREATE( L1_UNAME ).
* Setting the sender
CALL METHOD L_SEND_REQUEST->SET_SENDER
EXPORTING
I_SENDER = LR_SENDER.
* E-Mail
LOOP AT P_EADDR.
TRANSLATE P_EADDR-LOW TO UPPER CASE.
L_RECIPIENT = CL_SAPUSER_BCS=>( P_EADDR-LOW ).
CALL METHOD L_SEND_REQUEST->ADD_RECIPIENT
EXPORTING
I_RECIPIENT = L_RECIPIENT
I_EXPRESS = 'X'
I_COPY = ' '
I_BLIND_COPY = ' '
I_NO_FORWARD = ' '.
IF SY-SUBRC EQ 0.
WRITE:/'** SUCCESS: Email Sent to', P_EADDR-LOW COLOR COL_NORMAL.
ELSE.
WRITE:/'** ERROR: Failed to send Email to',P_EADDR-LOW COLOR COL_NEGATIVE .
ENDIF.
ENDLOOP.
*Trigger E-Mail immediately
L_SEND_REQUEST->SET_SEND_IMMEDIATELY( ' ' ).
CALL METHOD L_SEND_REQUEST->SEND( ).
COMMIT WORK.
CATCH CX_DOCUMENT_BCS INTO L_BCS_EXCEPTION.
CATCH CX_SEND_REQ_BCS INTO L_SEND_EXCEPTION.
CATCH CX_ADDRESS_BCS INTO L_ADDR_EXCEPTION.
ENDTRY.
Edited by: saslove sap on Oct 22, 2009 9:02 AM -
Issues in sending mail in OBPM 10g
Hi.
I am getting the following error while trying to send an email:
/Util.MailService: In activity sendTextMail(). Sending to recipients [[email protected]] failed with message: Invalid Addresses[]
Also, how can i paste my code in the forum here. It doesn't allows to paste.
Thanks,
NamitIn the component catalog, create a BPM Object called "EmailService", and then create a method called "send".
In the send method, add in code like this:
mail = Mail()
mail.subject = subject
mail.from = from
mail.recipents = recipients // array of email addresses (use "recipient" if just one email address)
mail.cc = cc
mail.message = message
mail.send()
In the activities that need to send an email, use the EmailService.send.
send EmailService
using recipents = ["[email protected]"],
from = server.administratorMail,
cc = [],
message = "You are late with your labor tracking! \n\nRegards, \n" + server.host,
subject = server.host + " Hours are missing for this week."
Dan -
Intermittent issues with sending mail on Mac Mail but not Thunderbird
Some background: I have to use my ISP's SMTP server (AT&T) in order to send any mail out from my multiple email accounts. All emails are "validated" to use AT&T's SMTP server so there isn't any issue there. I cannot replicate this issue 100% of the time... it's about 20% of the time and has been experienced on both my Macs. When it does happen, outgoing email will either just hang (gear icon spins endlessly) or I get the SMTP server error message asking me to try another SMTP server (which I don't have).
What is odd, I recently downloaded Thunderbird using the exact same settings as Mac Mail. Whenever Mac Mail hangs, I try sending an email from Thunderbird and it works just fine. I have also tried sending email from my iPhone while in "airplane mode" and it works just fine.
I have performed connection doctor, keychain repair, deleted and reentered the SMTP info. So before I dump Mac Mail (which I'd rather not do) and go to Thunderbird, I would be curious if anyone has any suggestions?
Thx!Now following another similar thread: http://discussions.apple.com/thread.jspa?threadID=2774396&start=0&tstart=0. Changed settings to MobileMe's IMAP default settings. Been working for 3-4 days. Hope it continues.
-
Issues with sending mail when using 2 email accounts - possible bug?
Hi all,
Having issues with trying to send email from the 3g iPhone. I have 2 IMAP acounts set up on the phone, one
which works fine but when I try to create mail from the primary account as soon as I hit send it exits the mail program and goes back to the home screen.
Both IMAP accounts have identical settings apart from the username and email address. On the primary account there is no sent messages folder on the iPhone whilst there is on the account that works. I've had a look in the advanced settings and it is programmed to store sent messages in the local sent folder which doesn't exist. I've tried selecting it to store in a IMAP folder as I thought maybe it was crashing as the local folder wasn't there but it has the same result.
Have deleted the account and entered the settings back in again to try to coax it to create the local sent folder but cake up with the same problem.
Suggestions are welcome.You have their SMTP servers mixed up, go to Mail>Preferences>Accounts>Outgoing Mail Server (SMTP), click on the server then choose Edit SMTP Servers and select the correct one for each account. Then check the Use Only This Server box
-
Issue in sending mail to SAP Inbox from Workflow
Hi All,
I need to send the mail to the creator of the document about the user decision. If i am executing the workflow through the event ( ouput type) , the workflow processing in SWIA is complete but the mail is not sent in the SAP Inbox. But If i try to manually execute the workflow, mail is sent to the SAP Inbox.
I've used WF_INITIAITOR in the Expression. I need to send the mail not to the approver but to the creator of the workflow.
Thanks,
NehaHi,
the event is also triggered from my Id but in that case I do not recieve any e-mail. None of the users recieve the e-mail in the SAP Inbox for the mail step after the decision.
In workflow Log the last step shows the details as
name of the manager and the workflow background for mail sent step as shown below
Sumit Vij Background work item created 10.01.2012 12:08:43
Sumit Vij Execution started automatically 10.01.2012 12:08:43
Workflow Hintergrund Work item processing complete 10.01.2012 12:08:44
Thanks -
Issue in sending mails from Apex -Please help
Getting following error while processing the statment.
ORA-01403: no data found
Statement processed.
create or replace procedure proc_bgv_email_accept as
id_email number;
l_startdate date;
l_vacancy varchar2 (300);
l_declinedate date;
l_emailsenddate date;
today_date date;
accepted_date date;
l_id NUMBER;
candstat varchar2(3);
l_subject VARCHAR2(255);
l_body CLOB := '';
-- ' HTML enabled mail client.' || utl_tcp.crlf;
l_body_html CLOB;
l_mgr_emailid varchar2(255);
l_candid_emailid varchar2(255);
l_from_emailid varchar2(255) :='[email protected]';
begin
select sysdate into today_date from dual;
for cur1 in (select ID,candidate,hiring_manager,vacancy,hiring_manager_email,candidate_email from bgv where upper(trim(change_reason))=upper(trim('Offer Accepted by Applicant')) and to_char(dataload,'mm/dd/yyyy')=to_char(sysdate,'mm/dd/yyyy'))
loop
select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;
select nvl(proposed_start_date,'8/28/1983'),nvl(REJECTION_DATE,'8/28/1983') into l_startdate,l_declinedate from bgv where id=cur1.id;
l_subject:='Please confirm';
l_candid_emailid :=cur1.candidate_email;
l_mgr_emailid :=cur1.hiring_manager_email;
l_body_html:='<html>
<link rel=stylesheet href=http://aru.us.oracle.com:8000/olaf/css/aru_blaf.css type="text/css">
<body>
<span>
<table border=0 cellpadding=0 cellspacing=0 width=800>
<tr>
<td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
</tr>
<tr>
<td class=OraInstructionText><font face="Georgia">
Dear'|| cur1.candidate ||' </b>,<p/></p>
Please confirm your LOV
<p/><p/>
Best Regards,<p/>
Raj</p></font></td></tr>
</table>
<tr>
<td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
</tr>
</span>
</body>
</html>';
l_id := APEX_MAIL.SEND (
P_TO => l_candid_emailid,
P_CC => l_mgr_emailid,
--P_BCC => '[email protected]',
P_FROM => l_from_emailid,
P_BODY => l_body_html,
P_BODY_HTML => l_body_html,
P_SUBJ => l_subject);
APEX_MAIL.PUSH_QUEUE;
end loop;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
end;
Edited by: user771319 on Feb 29, 2012 9:05 AMthe error could be here:
select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;replace that line with:
begin
select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N')
into id_email,l_emailsenddate,candstat
from email_sent_log
where id=cur1.id;
EXCEPTION
when NO_DATA_FOUND then
id_email := 0;
l_emailsenddate := to_date('08/28/1983','MM/DD/YYYY');
candstar := 'N';
end;
Maybe you are looking for
-
Apple devices will not print to Officejet 6700 including MacBook Pro and iPad
I am trying to help someone set up their MacBook Pro and iPad to be able to wirelessly print to their Officejet 6700. I recently set them up with a new Apple Airport Extreme for their router. The printer connects fine to the wireless network. Everyth
-
Can the Header and Footer fields in Pages be changed from 3 to 1 or 2?
-
Display freezes at boot until screen moved
March 2010 Macbook Pro 15 - display freezes at boot from cold. First image is dark purple, this lightens to patchy grey with vertical lines. Move the screen and the display changes to account log in screen, but track pointer is frozen and screen gamm
-
Changing Justification at runtime
Is it possible to change justification of report at runtime. If Yes? Please provide me info. Thanks in Adv. Shareef
-
Adding dynamic table in static Group UI element
Hi Experts, I have a Group UI element under Root Ui element. Now in wdDoinit i have crerated a dynamic table. Can some one suggest how can i add my table in that Group UI element? Regards Pranav