It works well but the email i received is totaly blank
IS
l_mailhost VARCHAR2(64) := 'smtp.ca.sunlife';
l_from VARCHAR2(64) := '[email protected]';
l_subject VARCHAR2(64) := 'Test Mail';
l_to VARCHAR2(64) := '[email protected]';
l_mail_conn UTL_SMTP.connection;
mSID sys_logon.sid%type;
mUSERNAME sys_logon.username%type;
mOSUSER sys_logon.osuser%type;
mLOGON sys_logon.logon_time%type;
CURSOR logon_data IS SELECT sid,username,osuser,logon_time FROM sys_logon WHERE username='SYS' or username='SYSTEM';
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.open_data(l_mail_conn);
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, 'From: ' || l_from || Chr(13));
UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || l_subject || Chr(13));
UTL_SMTP.write_data(l_mail_conn, 'To: ' || l_to || Chr(13));
UTL_SMTP.write_data(l_mail_conn, '' || Chr(13));
open logon_data;
LOOP
FETCH logon_data INTO mSID,mUSERNAME,mOSUSER,mLOGON;
EXIT WHEN logon_data%NOTFOUND;
UTL_SMTP.write_data(l_mail_conn, mSID ||' '||mUSERNAME||' '|| mOSUSER||' '|| to_char(mLOGON) || Chr(13));
END LOOP;
execute immediate 'truncate table sys_logon';
UTL_SMTP.close_data(l_mail_conn);
UTL_SMTP.quit(l_mail_conn);
END;
yes it returns couple of row every time
but the email i recieved in Lotus Notes has blank (TO,From, Subject,Message)
Similar Messages
-
When I got this and hooked it up. it was so easy to connect it to the puter and all but apple tv is lagging behind, so slow and had to wait to catch up to be able to watch movie(s) What can I do about it? ( the previous airport extreme had no problem with the apple tv, never lags behind.
H.E.L.P.Dear LaPastenague,
many thanks for your ultra response...I have revisited my earlier thoughtsi / question...I possibly may have not mentioned, the whole intention was to add another device which is in my kitchen and cabling to it could prove time consuming....
Just came back from Maplins with a NetGear universal wireless adaptor for my Win XP machine which will be located in the kitchen.
I was balancing future swap arounds with the AE if my TC [ 2nd Gen] decides to pack up on me.
Good evening
Regards -
Help Me
this is to inform that i updated my iphone 4s to ios 5.1 and as you told i got no problem...update finished in near 7 minutes..
thanx again -
I just made a new ID with a new email account but the email I received wouldn't let me verify my email!!! What do I do?
This is a user forum.
Contact Apple to resolve your problem: http://www.apple.com/contact/ -
I want to copy email from my mac to my pc. Forwarding one at a time via email works well, but when I try to forward several of them at a time I receive one large email. I want to receive the emails individually on my pc. Any suggestions?
Don't know any 'automatic' way - but, i have "Fetch Headers only" set on each of my 'secondary accounts'.
With varying internet service, manual "Get Messages" is probably the "Best Practice" because you will know how good your service is before you even try.
maybe set "Check for new messages every 'n' minutes" to different times
(3 minutes, 6 minutes, etc.) on each 'secondary' account. -
I use iPhone, iPad and MacPro, all works fine but the newly purchased iMac does not receive emails on time - always later than other devices. Why and how to fix?
Go to Mail Preferences
Click on the General tab
Set "Check for New Messages:" to "Every Minute"
Hope this helps -
I'm being asked to enter my ID pswd on my ipad 2 for icloud. but the email address and ID are no longer being used, and reset emails are not being received. How can I deactivate this? I have another ID which works fine, but this issue with the old ID is not allowing me to use my ipad. thanks.
If your iPad is signed into an old ID and you are trying to change it, if the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
When i send a contact by email the email is received but without the contact info.
Can anyone help. it seems to work ok when i MMS but not on the email. the email is received but does not contain the contact info.
I have the same problem. Sought to insert a pdf into Apple Mail after editing a form pdf and only the blank form shows. I didn't use Preview to generate the form, just Acrobat. And, the filled in form inserts perfectly into an email when I use Outlook for Mac. Problem only with Apple Mail.
HELP!! -
I have set up a Netgear dual band modem which works well with the iPhone and an older MacBook, but with this brand new MacBook it asks for a password every time I reopen the computer and open safari. As you can imagine this is very annoying. It says I am not connected to the internet and offers me a choice of nearby networks including mine and then asks for a password when I select it. Why does it do this with our new MacBooks (also with my son's brand new one) and not with the iPhone, iPad and older MacBook? They happily automatically connect to our network after entering the password just the once.
Sig, I appreciate you trying to be helpful. I have no idea what issues you were having or what issue exactly pgrounds has been having. Your assumption that everyone's set up is the same as yours is false however. There are many many documented WiFi issues that are a result of Lion installs. Many have been solved by 10.7.1 and 10.7.2. Others have been solved by a large variety of work arounds. Others have not had their issues solved yet.
I am one of those. I have an IT background, and I spent the better of five hours digging up workarounds and attempting all of them. For the benefit oh anyone who is having similar issues, I have posted links to all of those workarounds here. None of them worked in my case, but hopefully they will help pgrounds or others.
So, once again, if you have a new idea, I'd love to here it. But if it has already been posted in one of these links, it's not helpful, let it go.
http://osxdaily.com/2011/07/22/wifi-dropping-in-os-x-lion-fixes/
http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/
http://blog.chron.com/techblog/2011/09/want-to-really-repair-permissions-on-your -mac-try-this/ -
I tried to buy something on ITunes like I've done many times before but, for some reason this time it says it's my first time using this computer (which is not) and i must verify my own identity on my own account and answer the security questions i don't recall doing. I never had a favourite teacher or a childhood nickname. So i try to fix that problem and i have to do the forgot my answers thing but the email for it doesn't work. So I can't answer the questions I haven't answered before and to reset it with a email that doesn't work.
You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
If you're desperate, create a new Apple ID. Doing this will leave you stuck with managing two permanently.
(93405) -
Hi
I am a keen photographer and I have just bought you SD card reader for ipad. This works well but was winding if there is an app that I can view the images on the SD card full screen without having to import them to the iPad or is there a way to do this on the iPad
The reason for buy this was for when I was out and about to get a better view off my images.
I have a iPad 2 16gb
Hope you can help!
ThanksA couple of weeks ago, (after reading a review in TUAW) I bought a wireless hub/ SD card reader called RAVPower. its app comes with a built in viewer, so you can load it up, and see the pics full screen.
-
I bought a new mac. My old creative suite design standard works well but acrobat reader 8 doesn't accept the serial number.
Please, is there any methods do make this?
All is right with my subscription. I just install the suite one time on my old mac.
Thanks
YoannWas the FCS on your old machine an upgrade? You will need to enter your original, full version serial first, and then you will be prompted for the upgrade serial number.
Hope this helps.
MtD -
i bought a mac book air. when i use sony bluetooth headset on mac os. it works well
but with windows 7, device manager did not know the device.
why?I disabled my microphone in Bootcamp Win7 Ultimate 64B and now it is completly gone. I used the Windows support CD I made and re-installed the 64B Cirrius drivers but the microphone is no where to be found also missing in device manager as well as Control Panel Audio.
Help. -
Just purchased CC2015 Lightroom & Photoshop following a 30 day free trial. All worked well during the trial but now I have subscribed to the plan and downloaded the latest LR version I am unable to zoom into the images and just get a constant 'loading' box and spinning circle. Also, the whole system is very slow - very frustrating! Any ideas? I am running it on Windows 8.
MickYou keep asking variants on this same question. You've had replies in all your other threads. If you can't find them, go here and click where it says Activity:
Thomas Cannon Jr. -
I want to change my password for apple id but i forgot my secrect question as well as the email add that apple sends the reset link to. How can it be resolved ?
See Kappy's previous write-up.
Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities
Maybe you are looking for
-
OBIEE 11.1.1.7.0 Skin and Style changes
Dear All, I want to customize the skin and style in OBIEE 11.1.1.7.0. I already did for OBIEE 11.1.1.5.0 and having fair idea of files and location for customization. I used to copy s_blafp and sk_blafp from /opt/xyz/obiee/Oracle_BI1/bifoundation/web
-
Wanna some informations about using a audigy4 and vi
Hi guys, I'm using a Soundblaster Audigy 4 in my pc. Right now, I've WindowsXP running. I tested Vista and have some questions now. Maybe someone understand my terrible bad english and will answer? First: I use a 5. system and have activated? he subw
-
I cannot read S/MIME encrypted Mails on iPhone and iPad
I have a Certificate for my email address by Comodo. It is installed in Thunderbird on PC and iPhone and iPad with iOS 7.1.2. Thunderbird on PC behaves like expected, i can send and read encrypted emails. On iPad and iPhone i cannot read encrypted em
-
Saving backward from AS 3 to AS 2
I recently created a slide show that works fine on my desktop, works great from the test server when viewed through the flash produced HTML but once the swf is uploaded via a content management system we have problems. Further investigation showed th
-
How to install OXS on a Mac book with broken CD drive.
I have a Mac book. The cd drive is broken, how do i reinstall the OSX software.. I want to do a complete system wipe.