Need help for sending email s

Hi
I have written a procedure for send an email notification to others.(within org). procedure successfully compiled. When I execute this procedure..I am getting email like this...!!! Every thing coming in the subject line only. Please advise..!!
test From: [email protected]: 15-DEC-2011 02:06:29To:
[email protected] Hi Rekha
test -- subject
Hi Rekha -- body
CREATE OR REPLACE
PROCEDURE xxgw_email_notf(p_mail_subject IN VARCHAR2,
                          p_mail_bdy  IN VARCHAR2,
                          p_mail_body in varchar2,
                          p_from_email in varchar2,
                          p_to_email in varchar2)
is
L_MAILHOST varchar2(64) := 'something.local';  -- for security purpose I have given like this.
L_FROM varchar2(64) := P_FROM_EMAIL;
l_to VARCHAR2(64) := p_to_email;
l_mail_conn UTL_SMTP.connection;
--l_subject           VARCHAR2(100);
begin
l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
UTL_SMTP.helo(l_mail_conn, l_mailhost);
UTL_SMTP.mail(l_mail_conn, l_from);
UTL_SMTP.RCPT(L_MAIL_CONN, L_TO);
--UTL_SMTP.data(L_MAIL_CONN,'Hi Testing');
--UTL_SMTP.DATA(L_MAIL_CONN,'Sahithya Just test now');
UTL_SMTP.OPEN_DATA(L_MAIL_CONN);
--UTL_SMTP.WRITE_DATA(L_MAIL_CONN, 'Subject: '||P_MAIL_SUBJECT||CHR(13));
--UTL_SMTP.WRITE_DATA(L_MAIL_CONN, 'From: '||P_FROM_EMAIL||CHR(13) );
--UTL_SMTP.WRITE_DATA(L_MAIL_CONN, 'Date: ' || TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS')|| Chr(13));
--UTL_SMTP.WRITE_DATA(L_MAIL_CONN, 'To: '||P_TO_EMAIL||CHR(13) );
--UTL_SMTP.WRITE_DATA(L_MAIL_CONN, ''||CHR(13));
UTL_SMTP.WRITE_DATA(L_MAIL_CONN, P_MAIL_BDY||CHR(13) );
UTL_SMTP.write_data(l_mail_conn, p_mail_body||Chr(13) );
UTL_SMTP.close_data(l_mail_conn);
UTL_SMTP.quit(l_mail_conn);
EXCEPTION
WHEN utl_smtp.PERMANENT_ERROR THEN
fnd_file.put_line(fnd_file.log,'Permanent Server Error');
dbms_output.put_line('Permanent Server Error');
WHEN UTL_SMTP.TRANSIENT_ERROR THEN
fnd_file.put_line(fnd_file.log,'Transient Server Error');
dbms_output.put_line('Transient Server Error');
WHEN UTL_SMTP.INVALID_OPERATION THEN
FND_FILE.PUT_LINE(FND_FILE.log,'Operation is invalid');
DBMS_OUTPUT.PUT_LINE('Operation is invalid');
end xxgw_email_notf;Please advise me where I did mistake..!!!
Regards
Sa

Hua Min,
No offence, but can you please stop posting everything in blue Times New Roman font, especially when it's code, as it makes things difficult to read (especially on some browsers)
Please read {message:id=9360002} and post code/data using the appropriate {noformat}{noformat} tags.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Need Help for Sending Email with LabWindows 8.5 or 9

    Hi,
    I'm trying to send an email with attach excel files to it using InetSendMail function and outlook activeX and always having no success on it.
    I am still a student so i dont have much time for researching these functions, so im asking for an example working code for this problem.
    Thanks for your the help in advance...
    I've also tried changing the examples from the package
    Solved!
    Go to Solution.

    Hi,
    You can use LaunchExecutableEx to determine the window state:
    LaunchExecutableEx ("command.com /C calc.exe", LE_HIDE, NULL);
    Beware that this function does not wait for the started executable to exit.
    It executes the command in the string and continues.
    If your application has to get the results of the call, then you need to get the application handle  (3rd parameter, put a variable instead of the NULL above) and call ExecutableHasTerminated in a loop to find out if the execution finished.
    Read carefully the help for the LaunchExecutableEx function and Handle parameter.
    To get the result of the command line call, you can add a "> output.txt" parameter to the end of your command line call.
    This way all the text output of the command is written to the output.txt file, from which you can read the result.
    Check the command-line email sender program's help if there is a special paramter to make it more "verbose".
    Hope this helps, 
    S. Eren BALCI
    www.aselsan.com.tr

  • Need Help for AIR Email Application

    Hi,
    I’m a beginner to Adobe AIR.
    My new assignment is to create an AIR Application which works like MS Outlook with minimal features like compose mail, inbox, send items and contact details.
    With the help of some server side script (like PHP, CF) I can make it work. But My TL asked me to communicate directly with mail server through AIR.
    I googled for a week for some tutorial to help me, But I can’t find anything useful.
    Is there any way to communicate directly with web server and list the Inbox, Outbox, and Contact details…? If so, please help me to find the solution…
    Thanks In Advance

    Hi,
    You can use LaunchExecutableEx to determine the window state:
    LaunchExecutableEx ("command.com /C calc.exe", LE_HIDE, NULL);
    Beware that this function does not wait for the started executable to exit.
    It executes the command in the string and continues.
    If your application has to get the results of the call, then you need to get the application handle  (3rd parameter, put a variable instead of the NULL above) and call ExecutableHasTerminated in a loop to find out if the execution finished.
    Read carefully the help for the LaunchExecutableEx function and Handle parameter.
    To get the result of the command line call, you can add a "> output.txt" parameter to the end of your command line call.
    This way all the text output of the command is written to the output.txt file, from which you can read the result.
    Check the command-line email sender program's help if there is a special paramter to make it more "verbose".
    Hope this helps, 
    S. Eren BALCI
    www.aselsan.com.tr

  • Need help with sending email notifications via OEM

    Hi Folks,
    Objective: To setup email notification if the listener or the database instance goes down
    Version: 10 g Rel 2
    I have setup the email from OEM. I have verified the configuration by successfully sending myself test emails.
    I have configured the schedule (7 days a week, from 1 A.M to 11 P.M)
    I have also configured the out-of-the package alerts so that I will be notified if the listener goes down
    However, once I manually stop the listener, no email is sent out?
    Can somebody spot any obvious steps that I might have missed? Or if somebody can suggest any debugging steps that might help to resolve the issue ?
    Thanks in advance.
    rogers42

    Hi Roger
    Ok, tell me
    1. You have a user like DBA and configurate this count for recive email?
    2. When You try send email from Console You recive this email? Your prove server email
    You should recive this mensagge
    Este mensaje de correo electrónico de prueba de Oracle Enterprise Manager indica la configuración correcta de la dirección de correo electrónico y del servidor de correo.

  • My question disappeare​d - need help with sending email - option is not there

    can not send email from blackberry from my aol or hotmail accounts. I can send from my work email .???

    Didn't disappear, it's right here, and answered.
    no option to send email on aol or hotmail
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help: Error sending Email from 6270

    When I try to send a Email message using the handset in-built mail client, the following error is reported on handset screen-
    Stop "String index out of range: -2" with only possibility of "Dismiss" button.
    I have done the personal config settings for a local SMTP and POP server that does not use SSL since 6270 does not support it. I am able to retrieve emails, use browser but sending mail fails with the error above.
    Please help since Nokia-Care replies are not worth mentioning here. Their service centre in Bangalore-India is pushing the issue to operator. But operator (Airtel) is not to blame. Airtel is not blocking access to the servers (local as well GMAIL) since I am able to access (send and recieve) these servers from Outlook-PC that connects via the USB cable to this handset. Either settings are not correct or it is a bug in 6270.
    If anyone has been able to use 6270 to send emails, please send me your settings minus your passwords ofcourse. It will help me try again if I missed something.
    Thanks in advance
    Anupam

    Hi all,
    I am also sharing the settings that I did on the handset. BSNL server does not use a secure connection. I had used "@" in the settings but in test below it is shown as
    " AT " for preventing spam.
    Let me know if you have any sugeestion.
    Anupam.
    Settings -> Configuration -> Personal Config. settings ===
    @My bsnl
    Account Name: My bsnl
    My name: Anupam
    Email Address: anupams_blr AT dataone.in
    Include Signature: No
    Reply to address: anupams_blr AT dataone.in
    SMTP secure login: Disabled (Have also tried other 3 options)
    SMTP user name: anupams_blr AT dataone.in
    SMTP password: ********
    Outgoing SMTP Server: smra.sancharnet.in
    Outgoing SMTP port: 25
    Use preferred access point: Yes
    SMTP access point: (grayed out)
    Incoming server Type: POP3
    Incoming mail settings:
    Retrieve emails: 30
    POP3 secure login: Disabled
    POP3 user name: anupams_blr AT dataone.in
    POP3 password: *******
    Incoming POP3 server: smma.sancharnet.in
    Incoming POP3 port: 110
    Use preferred access point: Yes
    POP3 access point: (grayed out)
    =======================================================

  • Need help for sending mail

    Hi All,
    I am very new to java and javamail.i need to send an email for my application.I get null pointer exception in Transport.send(msg).package net.careertales.ejb.mdb;
    import javax.activation.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class EmailHelper {
         private static boolean      DEBUG            = true;
         private static Hashtable DEFAULT_SETTINGS = new Hashtable();
         static {
              DEFAULT_SETTINGS.put("mail.transport.protocol", "smtp");
              DEFAULT_SETTINGS.put("mail.smtp.host", "yourhostname");
              DEFAULT_SETTINGS.put("from", "[email protected]");
              DEFAULT_SETTINGS.put("body", "no body");
              DEFAULT_SETTINGS.put("subject", "no subject");
         public static void sendmail(Map mail) throws Exception {
              Properties props = new Properties();
              props.put( "mail.transport.protocol", EmailHelper.returnDefault(mail, "mail.transport.protocol") );
              props.put( "mail.smtp.host", EmailHelper.returnDefault(mail, "mail.smtp.host") );
              props.put("mail.smtp.auth", "true");
              Session session = Session.getDefaultInstance(props, null);
              if (DEBUG) {
                   session.setDebug(true);
                   Properties p = session.getProperties();
                   Enumeration e = p.propertyNames();
                   while (e.hasMoreElements()) {
                        String key = (String) e.nextElement();
                        System.out.println("Key: " + key);
                        System.out.println("Value: " + p.getProperty( key ));
              Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress( EmailHelper.returnDefault(mail,"from") ) );
              msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(EmailHelper.returnDefault(mail,"to"), false));
              msg.setSubject(EmailHelper.returnDefault(mail,"subject"));
              msg.setSentDate(new Date());
              msg.setText(EmailHelper.returnDefault(mail,"body"));
              if( null != msg){
                   Transport transport = session.getTransport( "smtp" );
                   transport.connect( "hostname", "[email protected]", "password" );
                   Address addressList[] = msg.getAllRecipients();
                if (addressList != null && addressList.length > 0){
                                transport.sendMessage(msg, addressList);
                 else {
                     System.out.println("[NO_RECIPIENTS]");
         public static String returnDefault(Map map, String key) {
              String value = (String) map.get(key);
              String realValue = (String) ( (value == null) ? DEFAULT_SETTINGS.get(key) : value );
              return realValue;
         public static void main(String args[]) throws Exception {
              if (args.length == 0) {
                   System.exit(-1);
              Hashtable mail = new Hashtable();
              mail.put("to",      args[0]);
              if (args.length > 1) mail.put("from",    args[1]);
              if (args.length > 2) mail.put("subject", args[2]);
              if (args.length > 3) mail.put("body",    args[3]);
              EmailHelper.sendmail(mail);
    }I get the content of msg and addressList in transport.sendMessage(msg, addressList); getting printed in my console.Can any one help me to find what is wrong here.
    Thanks

    Hi,
    Thanks for your reply.I ckecked out the javamail.There is nothing related to my question.I have pasted the error code what i get in my console.[INFO][12-11-2007 10:47:20,784] [STDOUT] LoggerStream.java (152):235 Authentication successful
    [INFO][12-11-2007 10:47:20,787] [STDOUT] LoggerStream.java (152):messagejavax.mail.internet.MimeMessage@1f49f49
    *//This line prints my message part*
    [INFO][12-11-2007 10:47:20,787] [STDOUT] LoggerStream.java (152):subjectEmail Test
    *//This line prints my subject part*
    [INFO][12-11-2007 10:47:20,788] [STDOUT] LoggerStream.java (152):Recepients[Ljavax.mail.internet.InternetAddress;@da1622
    *//This line prints the recepients*
    [INFO][12-11-2007 10:47:20,789] [STDOUT] LoggerStream.java (152):From[Ljavax.mail.internet.InternetAddress;@1e343db
    *//This line prints the from part*
    [INFO][12-11-2007 10:47:20,789] [STDOUT] LoggerStream.java (152):address[Ljavax.mail.internet.InternetAddress;@17be5fc
    *//This line prints the Address part*
    [INFO][12-11-2007 10:47:20,790] [STDOUT] LoggerStream.java
    [ERROR][12-11-2007 10:47:20,838] [STDERR] LoggerStream.java (152):java.lang.NullPointerException *//This is the error i get in Tansport.send(msg) method*
    [ERROR][12-11-2007 10:47:20,839] [STDERR] LoggerStream.java (152):      at java.lang.String.concat(String.java:1827)
    [ERROR][12-11-2007 10:47:20,840] [STDERR] LoggerStream.java (152):      at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
    [ERROR][12-11-2007 10:47:20,841] [STDERR] LoggerStream.java (152):      at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
    [ERROR][12-11-2007 10:47:20,841] [STDERR] LoggerStream.java (152):      at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
    [ERROR][12-11-2007 10:47:20,842] [STDERR] LoggerStream.java (152):      at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
    [ERROR][12-11-2007 10:47:20,843] [STDERR] LoggerStream.java (152):      at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
    [ERROR][12-11-2007 10:47:20,843] [STDERR] LoggerStream.java (152):      at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
    [ERROR][12-11-2007 10:47:20,844] [STDERR] LoggerStream.java (152):      at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
    [ERROR][12-11-2007 10:47:20,845] [STDERR] LoggerStream.java (152):      at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
    [ERROR][12-11-2007 10:47:20,849] [STDERR] LoggerStream.java (152):      at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
    [ERROR][12-11-2007 10:47:20,850] [STDERR] LoggerStream.java (152):      at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    [ERROR][12-11-2007 10:47:20,850] [STDERR] LoggerStream.java (152):      at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:230)
    [ERROR][12-11-2007 10:47:20,851] [STDERR] LoggerStream.java (152):      at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1065)
    [ERROR][12-11-2007 10:47:20,851] [STDERR] LoggerStream.java (152):      at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
    [ERROR][12-11-2007 10:47:20,852] [STDERR] LoggerStream.java (152):      at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
    [ERROR][12-11-2007 10:47:20,852] [STDERR] LoggerStream.java (152):      at javax.mail.Transport.send(Transport.java:79)
    [ERROR][12-11-2007 10:47:20,853] [STDERR] LoggerStream.java (152):      at net.careertales.ejb.mdb.EmailHelper.sendmail(EmailHelper.java:115) *//This line is the Error.It Shows in Transport.send(msg)*
    [ERROR][12-11-2007 10:47:20,853] [STDERR] LoggerStream.java (152):      at net.careertales.ejb.mdb.MessageDrivenServiceBean.onMessage(MessageDrivenServiceBean.java:99)
    [ERROR][12-11-2007 10:47:20,854] [STDERR] LoggerStream.java (152):      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERROR][12-11-2007 10:47:20,854] [STDERR] LoggerStream.java (152):      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ERROR][12-11-2007 10:47:20,855] [STDERR] LoggerStream.java (152):      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERROR][12-11-2007 10:47:20,855] [STDERR] LoggerStream.java (152):      at java.lang.reflect.Method.invoke(Method.java:585)
    [ERROR][12-11-2007 10:47:20,856] [STDERR] LoggerStream.java (152):      at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    [ERROR][12-11-2007 10:47:20,856] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
    [ERROR][12-11-2007 10:47:20,857] [STDERR] LoggerStream.java (152):      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    [ERROR][12-11-2007 10:47:20,857] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
    [ERROR][12-11-2007 10:47:20,858] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    [ERROR][12-11-2007 10:47:20,858] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    [ERROR][12-11-2007 10:47:20,859] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    [ERROR][12-11-2007 10:47:20,859] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    [ERROR][12-11-2007 10:47:20,860] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
    [ERROR][12-11-2007 10:47:20,864] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    [ERROR][12-11-2007 10:47:20,864] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
    [ERROR][12-11-2007 10:47:20,865] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
    [ERROR][12-11-2007 10:47:20,865] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.Container.invoke(Container.java:954)
    [ERROR][12-11-2007 10:47:20,866] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
    [ERROR][12-11-2007 10:47:20,866] [STDERR] LoggerStream.java (152):      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
    [ERROR][12-11-2007 10:47:20,867] [STDERR] LoggerStream.java (152):      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
    [ERROR][12-11-2007 10:47:20,867] [STDERR] LoggerStream.java (152):      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
    [ERROR][12-11-2007 10:47:20,868] [STDERR] LoggerStream.java (152):      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
    [ERROR][12-11-2007 10:47:20,868] [STDERR] LoggerStream.java (152):      at org.jboss.mq.SpySession.run(SpySession.java:323)
    [ERROR][12-11-2007 10:47:20,869] [STDERR] LoggerStream.java (152):      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
    [ERROR][12-11-2007 10:47:20,869] [STDERR] LoggerStream.java (152):      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
    [ERROR][12-11-2007 10:47:20,870] [STDERR] LoggerStream.java (152):      at java.lang.Thread.run(Thread.java:595)
    [INFO][12-11-2007 10:47:20,870] [STDOUT] LoggerStream.java I dont know what is going on wrong here.Can you help me to find out the solution.Thanks in advance.

  • Need Help of Sending Email Notification when new task assigned

    Hi all,
    How can we send a email alert notification for existing lead or new lead, when a new Task is assigned to particular person. Here in my requirement daily n number of tasks assigned to executives. So how can i send the same.
    Thanks in advance.
    Regards,
    Ratan

    Hi Ratan,
    It is not clear from your question whether you are trying to trigger the email notification for the task or the lead, but it doesn't matter. You'll need to write a WF for the Lead/Task and trigger it when a new record is created and then in actions select the email notification.
    Best of luck

  • Need help with sending Emails... My AOL Account from Apple Mail

    I have no problem receiving emails on this account through my apple mail setup but for some reason the sending mail continues to give me issues... it says that my "smtp.aol.com...." server is timed out. Why is it not able to send but is able to receive? what can i do to alleviate this situation?
    Please advise!
    Thank you!
    <Post Relocated by Moderator>

    Alexisann, Welcome to the discussion area!
    I'm not sure how you ended up in the "Discussions > AirPort > AirPort for Windows" discussion area. Your question has nothing to do with Apple's wireless base stations, wireless networking, nor Windows.
    A much better place to put your question would be the "Discussions > Mac OS X v10.5 Leopard > Mail and Address Book" discussion area.

  • I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro

    Hi,  My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress  iss: http://lisbondreamwalk.li.funpic.org  This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
    Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13);  function fl_MouseClickHandler_13(event:MouseEvent):void {          if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "")      {           thankyou.text = "please fill out all fields";      }      else      {           // create a variable container           var allVars : URLVariables = new URLVariables();           allVars.name = thename.text;           allVars.email = theemail.text;           allVars.time = thetime.text;           allVars.persons = thepersons.text;           allVars.message = themessage.text;           //Send info to a URL           var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php");           mailAddress.data = allVars;           mailAddress.method = URLRequestMethod.POST;           sendToURL(mailAddress);            thankyou.text = "Thank YOU!";           thename.text = "";           theemail.text = "";           thetime.text = "";           thepersons.text = "";           themessage.text = "";      } }
    H

    Thank you Kglad, I am going to see if I can make it work. I will let you know!
    Date: Thu, 13 Oct 2011 08:55:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        created by kglad in Action Script 3 - View the full discussion
    you missed part of the tutorial (or the tutorial is incomplete):  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{     if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
    }}  var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Action Script 3 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • HT5621 Need help for security question. I forgot passwrd rescuee email. How to reset rescuee email?

    Need help for security question. I forgot passwrd rescuee email. How to reset rescuee email?

    How to reset your Apple ID security questions.
    Go to appleid.apple.com, click on the blue button that says 'Manage Your Apple ID'.
    Log in with your Apple ID and password. (If you have forgotten your Apple ID password, go to iforgot.apple.com first to reset your password with a password recovery email)
    Go to the Password & Security section on the left side, and click on the link underneath the security questions that says 'Forgot your answers? Send reset security info email to [email]'.  This will generate an automated e-mail that will allow you to reset your security questions.
    If that doesn't work, or  there is no rescue email link available, then click on 'Temporary Support PIN' that is in the bottom left side, and generate a 4-digit PIN for the Apple Account Security Advisor you will be contacting later.
    Next, go to https://getsupport.apple.com
    (If you see a message that says 'There are no products registered to this Apple ID, simply click on 'See all products and services')
    Choose 'More Products & Services', then 'Apple ID'.
    A new page will open.
    Choose 'Other Apple ID Topics', then 'Forgotten Apple ID Security Questions'.
    Click the blue 'Continue' button.
    Select the contact option that suits your needs best.

  • Help with sending emails to multiple users.

    Currently we have a process to send mail to muliple users by looping through the list of users and sending each individual an email
    <Action id='1' name='sendEmail' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='toUser' value='$(tuser)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    The variable tuser contains a single email address.
    Is there any way to setup tuser to contain multiple email addresses?
    I have tried passing a list and a string separated by colons (ex: <s>[email protected]; [email protected]</s>) and neither one works.
    Question 2
    Is it a bad idea to try and send email to up to 50000 users at once using IDM? Besides the fact that I would need to search for specific users and get their email addresses based on their capabilities.

    Hi,
    For sending emails to multiple users, use to instead of toUser. Put the names in comma seperated values
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    <Argument name='template' value='$(template)'/>
    <Argument name='to' value='$(to)'/>
    <Argument name='cc' value='$(cc)'/>
    <Argument name='catch' value='notificationException'/>
    </Action>
    You can use IDM to send emails.
    it will be a good idea to break down the email that you are sending into groups/batches. If possible, you can send email to DL s
    Else, you can segregate the users based on roles and send emails. This will reduce the load. Hope it helps
    Regards
    Arjun
    Edited by: arjun.sengupta on Dec 4, 2012 3:26 AM

  • Function module for sending email

    Hi all,
    Can I know list of function modules for sending emails.
    Other than "SO_DOCUMENT_SEND_API1"
    pls let me know

    Hi Praveen,
    Below is the sample code to send the external mail.
    &**********Reward Points if helpful**********&
    DATA: ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des .
           ld_receiver LIKE  sy-subrc.
      DATA:   it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
              w_cnt TYPE i,
              w_sent_all(1) TYPE c,                             "#EC NEEDED
              w_doc_data LIKE sodocchgi1.
      REFRESH it_receivers . CLEAR it_receivers .
      IF v_trip_send = 'X'.
        it_receivers-receiver = it_trip_dload-approver_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-approver_email .
      ENDIF.
      it_receivers-rec_type = c_u .
      APPEND it_receivers. CLEAR it_receivers.
    it_receivers-receiver = " ------> pass your reciever email id.
      IF v_trip_send = 'X' .
        it_receivers-receiver = it_trip_dload-requester_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-requester_email .
      ENDIF .
      it_receivers-rec_type = c_u .
      it_receivers-copy     = 'X' .
      APPEND it_receivers. CLEAR it_receivers.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = c_saprpt.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = c_saprpt.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = c_f.
      CLEAR it_attachment.
      REFRESH it_attachment.
      it_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_type = c_raw.
      APPEND it_packing_list.
    Create attachment notification
      it_packing_list-transf_bin = c_x.
      it_packing_list-head_start = 1.
      it_packing_list-head_num   = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
      it_packing_list-doc_type   =  ld_format.
      it_packing_list-obj_descr  =  ld_attdescription.
      it_packing_list-obj_name   =  ld_attfilename.
      it_packing_list-doc_size   =  it_packing_list-body_num * 255.
      APPEND it_packing_list.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data = w_doc_data
          put_in_outbox = c_x
          commit_work   = c_x
        IMPORTING
          sent_to_all   = w_sent_all
        TABLES
          packing_list  = it_packing_list
          contents_bin  = it_attachment
          contents_txt  = it_message
          receivers     = it_receivers.

  • SAPCONNECT guide for sending Emails from BW System to Individual Email IDs

    Hello Everybody,
    If somebody can send me a pdf guide for SAPCONNECT inorder to configure Information Broadcasting in SAP BW for sending Emails to user's mail Id from BW system i will reward points to the helper for same if the help found useful as iam struggling for a pdf guide since long but couldnot find one ,not even over google,i dont need help site links ,i have tried them already ,they dont lay the exact procedure ,but a pdf guide ,my email id is [email protected] .
    Regards,
    Saumya

    Hello Vikash,
    Plz check i have rewarded you points for this forum under very helpful answers.Kindly now plz help me with this matter:
    I got ur document ,it was very helpful.Actually though i have already done most of these steps but i did all these steps all over again.Have u already made configuration for BW Information Broadcasting on your side because although i have done all these steps but wt happens is that the mails get collected in the SOST transaction and iam still not able to send mails and the error displayed is as :
    Message cannot be transferred to node SMTP due to Connection Error .
    Kindly please revert back to this error at earliest.
    Regards,
    saumya

  • Settings on Microsoft Exchange Server  for sending Email from BW to emailid

    Hello Everybody,
    I wanted to know that for sending Email from SAP System (that is via Information broadcasting feature of BW )to Email IDS of individuals do we need to make any configurations on Exchange Server as well or some RFC between Microsoft Exchange Server and BW .I have made all settings for SMTP through SCOT transaction but still not able to send mails.From our Exchange Server,the connector is removed ,do we need to reconnect it for this purpose.kindly please tell me wt all configurations do i need to make on Mail server for sending Emails as iam not able to do the same now.If somebody can send a PDF/Word document in support for the same on my email Id [email protected] ,i shall be highly obliged.Your help shall be appreciated ,kindly revert at earliest.
    Regards,
    saumya

    Hi Somya,
    Looks like you are deep into Information Broadcasting. I am sure you must have seen this, still sharing with you -
    SAP Notes -
    875136 - Node ID is missing in the status message for RFC connection
    455140 - Configuration E-mail, fax, paging/SMS via SMTP 
    regards
    Vikash

Maybe you are looking for