ICal "created by Mail" problem
After updating to OS 10.6.6 iCal became unusable on my main Mac Pro. All events and To Dos are properly displayed, but when trying to add a new calendar event by double-clicking on a date the following dialog box appears:
"This calendar was created by Mail" (not true). "You can't add events to a Mail calendar. Mail calendars only contain to do items created in Mail" (also not true, all calendar events are properly displayed).
Doing the usual maintenance steps (restart, fix permissions, reload the iCal application) did not solve the issue.
Any advice would be greatly appreciated - too much of my life is in there to have to recreate it all.
Message was edited by: Rysz
Look at the sidebar when ical is open. At the top you'll see a "to do" calendar, it may be under a heading - mine says Personal - this was created when a to do item was created in Mail. If the "to do" is under a heading as mine is click the arrow so the folder closes and only the heading not the "to do" is showing. By default ical will open up with that item highlighted, if the arrow is closed ical will open with one of your normal Mobile Me calendars highlighted.
Whichever one is highlighted in the sidebar is the one you create an event on when you click on a date in the calendar window. If that "to do" one is highlighted it won't let you create an event since it's managed by to dos created in Mail. Once you make sure that one of the other calendars is highlighted you can then click on a date and create the event.
Similar Messages
-
PO Create - Workflow - Mail Problem
Hi experts,
I have an workflow that trigers after PO creation.(BUS2012). Then it sends a mail. But, mail does not work correctly. In SBWP , if i run the workflow, mail comes to inbox. I want it works directly.
Waiting for helps.
Regards,
OrhanHi,
Can I know which event and method you are using to send mail after the PO creation.
Is the workflow instance is created or not on the PO creation.
Regards,
Aditya -
Problem creating iCal Events from Mail in Leopard
The new function that allows the user to create iCal events from Mail messages is quite impressive and very useful. Unfortunately the data detectors seem to have trouble with certain commonplace date formats. While the detector recognises the date, it cannot activate an event in iCal. For instance the data detector will pick up the dates in these formats and create iCal events:
30 October 2007
30 Oct 07
30/10/07
but not in this format:
30-Oct-07
In the latter case, the data detector recognises it is a date, produces the drop menu, but will not carry through and create an event to iCal. It's annoying in that many companies use the latter format in their communications. Any workaround?There is another problem I have found.
I have my computer set in international settings formats to show the date in the "English format"
January 4th 2007 is 4/1, however an entry in mail 4/1 is put into iCal on the first of April!
I found this out after looking for a meeting I knew I had put in for next week.
beware, can this bug be fixed? -
Todo created in mail not added to iCal
Just upgraded my MacBook Pro with Leopard, and have installed all the software updates. I Can't seem to make a to-do that I create in mail to show up on my iCal calendar. The to-do gets created in mail no problem, and shows up there on the list of to-dos. It has the correct information, title, date, time, etc. and shows as being listed on the correct calendar (my "work" calendar). However, when I go over to iCal and look at that same calendar, the to-do is not there. Any thoughts? Thanks in advance for help.
Message was edited by: tassajaraguy
IGNORE THIS POST - I SOLVED THE PROBLEM.and the work calendar appears in ical under your email account name, correct?
I would play around with todos and calendars as follows:
1) create one or several other calendars in ical under your email account with which you create your to dos in Leopard Mail.
2) try to assign your already created to do to other calendars, see what happens
3) create other to dos in these other calendars from Mail, see if they appear in ical
4) create other to dos in these calendars under your email account name in ical, and see if these to dos appear in Leopard Mail
let me know what you find. -
In iCal - I keep getting the error message “ This calendar was created by Mail” and it will not accept any input; why..??
use Disk Utility and Verify Permisions then fix and Verify Disk and fix, this should fix it.
-
Does anyone know how I can add events to my desktop ical when the message I receive says that the calender was created by Mail
I do not know how this happened. I managed to synch and change this some months ago but I do not know how!Hi Cara,
Welcome to Discussions.
With iCal closed, try deleting it's preference file (User/Library/Preferences/com.apple.iCal.plist).
If this does not work try repairing permissions. Open Disk Utility (Applications/Utilities/Disk Utility) and select your boot volume on the left and click Repair Permissions.
If neither of these work post back.
John M -
STRANGE PROBLEM with "Create New Mail Account.scpt" when creating POP acct.
I am using "Create New Mail Account.scpt" to create a POP account. It creates the account successfully. It fetches the mails successfully. Now the problem begins. After fetching all the mails once if u click "Get Mail" in mac mail, it fetches all the emails again and has now 1 original and 1 copy of the email set which is on the server. I just need 1 copy of the mail set not multiple. Please give me a solution or direct me to a help.
Thanks
SCRIPT
global theUsername
global thePassword
set success to 1
set theResult to true
if theResult is not equal to false
#set theAccountName to getAccountName()
#set theUsername to getUsername()
#set thePassword to getPassword()
#set theEmailAddresses to getEmailAddress()
#set theFullName to getFullName()
-- POP Account
if accountTypeString is equal to "POP" or accountTypeString is equal to "IMAP" then
set theHostname to "THE HOST NAME"
-- POP specific options
if accountTypeString is equal to "POP" then
set deletionPolicy to my getDeletionPolicy()
if deletionPolicy is not equal to false then
set deletionPolicy to item 1 of deletionPolicy
set theNewAccount to my createAccount(accountTypeString, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
if theNewAccount is not equal to false then
setDeletionPolicy(theNewAccount, deletionPolicy)
getAndSetAuthenticationScheme(accountTypeString, theNewAccount)
getAndSetSMTPServer(theNewAccount)
else
set success to 0
end if
end if
-- IMAP specific options
else if accountTypeString is equal to "IMAP" then
set theNewAccount to my createAccount(accountTypeString, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
if theNewAccount is not equal to false then
getAndSetCachingSettings(theNewAccount)
getAndSetAuthenticationScheme(accountTypeString, theNewAccount)
getAndSetSMTPServer(theNewAccount)
else
set success to 0
end if
end if
end if
if success is equal to 1 then
display dialog "Account created!"
else
display dialog "Account creation failed!"
end if
end if
-- Convenience handler for creating accounts
on createAccount(theAccountType, theAccountName, theUsername, theHostname, thePassword, theEmailAddresses, theFullName)
tell application "Mail"
try
if theAccountType is equal to ".Mac" then
set theNewAccount to make new Mac account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, full name:theFullName, email addresses:{theEmailAddresses}}
else if theAccountType is equal to "IMAP" then
set theNewAccount to make new imap account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, uses ssl:true, full name:theFullName, email addresses:{theEmailAddresses}}
else if theAccountType is equal to "POP" then
set theNewAccount to make new pop account with properties {name:theAccountName, user name:theUsername, server name:theHostname, include when getting new mail:true, password:thePassword, uses ssl:true, full name:theFullName, email addresses:{theEmailAddresses}}
end if
on error
set theNewAccount to false
end try
end tell
return theNewAccount
end createAccount
-- Ask the user what they would like to name the account
on getAccountName()
repeat
set theResult to display dialog "What would you like this account to be named?" default answer "Example: My Home Account"
set theAccountName to text returned of theResult
if theAccountName does not start with "Example:" then
exit repeat
end if
end repeat
return theAccountName
end getAccountName
-- Ask the user for the user name for their email account
on getUsername()
repeat
set theResult to display dialog "What is your email user name?" default answer "Example: janedoe"
set theUsername to text returned of the theResult
if theUsername does not start with "Example:" then
exit repeat
end if
end repeat
return theUsername
end getUsername
-- Ask the user for the password for their email account
on getPassword()
set theResult to display dialog "What is the password for this account?" default answer ""
set thePassword to text returned of theResult
return thePassword
end getPassword
-- Ask the user for the email addresses for their email account
on getEmailAddress()
repeat
set theResult to display dialog "What email address would you like to use for this account?" default answer "Example: [email protected]"
set theEmailAddress to text returned of theResult
if theEmailAddress does not start with "Example:" then
exit repeat
end if
end repeat
return theEmailAddress
end getEmailAddress
-- Ask the user for the full name for their email account
on getFullName()
repeat
set theResult to display dialog "What is the full name for this account?" default answer "Example: Steve Smith"
set theFullName to text returned of theResult
if (theFullName does not start with "Example:") then
exit repeat
end if
end repeat
return theFullName
end getFullName
-- Convenience handler for asking the user what settings they would
-- like to have for their special mailboxes. This handler also sets these
-- values in Mail.
on getAndSetSpecialMailboxes(theAccount)
-- Sent messages default to storing locally
set theResult to display dialog "Would you like to store Sent Messages on the IMAP server?" buttons {"Yes", "No"} default button 2
log theAccount
tell application "Mail"
tell theAccount
if button returned of theResult is equal to "Yes" then
set store sent messages on server to true
else if button returned of theResult is equal to "No" then
set store sent messages on server to false
end if
end tell
end tell
-- Drafts default to storing locally
set theResult to display dialog "Would you like to store Drafts on the IMAP server?" buttons {"Yes", "No"} default button 2
tell application "Mail"
tell theAccount
if button returned of theResult is equal to "Yes" then
set store drafts on server to true
else if button returned of theResult is equal to "No" then
set store drafts on server to false
end if
end tell
end tell
-- Trash defaults to storing on the IMAP server
set theResult to display dialog "Would you like to store Deleted Messages on the IMAP server?" buttons {"Yes", "No"} default button 1
tell application "Mail"
tell theAccount
if button returned of theResult is equal to "Yes" then
set store deleted messages on server to true
else if button returned of theResult is equal to "No" then
set store deleted messages on server to false
end if
end tell
end tell
end getAndSetSpecialMailboxes
-- Convenience handler for asking the user what IMAP
-- caching setting they would like to use and configuring
-- it in Mail.
on getAndSetCachingSettings(theAccount)
set theResult to choose from list {"Cache everything", "Cache everything but attachments", "Cache when read", "Don't cache"} ¬
with prompt "Choose a message caching setting for this account:" default items {"Cache everything"} without multiple selections allowed
if theResult is not equal to false then
tell application "Mail"
tell theAccount
if (item 1 of theResult is equal to "Cache everything") then
set message caching to all messages and their attachments
else if (item 1 of theResult is equal to "Cache everything but attachments") then
set message caching to all messages but omit attachments
else if (item 1 of theResult is equal to "Cache when read") then
set message caching to only messages I have read
else if (item 1 of theResult is equal to "Don't cache") then
set message caching to do not keep copies of any messages
end if
end tell
end tell
end if
end getAndSetCachingSettings
-- Convenience handler for asking the user whether they want to use
-- an already defined SMTP server (if any) or whether they want to
-- define a new one.
on getAndSetSMTPServer(theAccount)
tell application "Mail" to set everySMTPServer to every smtp server
if ((count of everySMTPServer) > 0) then
set listOfSMTPServers to {}
repeat with eachServer in everySMTPServer
try
set listOfSMTPServers to listOfSMTPServers & name of eachServer
end try
end repeat
createNewSMTPServer(theAccount)
else
createNewSMTPServer(theAccount)
end if
end getAndSetSMTPServer
-- Handler for creating a new SMTP server, if the user has none set up
-- already or if they choose not to use one of their existing servers.
on createNewSMTPServer(theAccount)
set theServerName to "THE SERVER NAME"
tell application "Mail"
set theSMTPServer to make new smtp server with properties {server name:theServerName, port:25, uses ssl:true}
set smtp server of theAccount to theSMTPServer
end tell
getAndSetAuthenticationScheme("SMTP", theSMTPServer)
end createNewSMTPServer
-- Handler for asking the user what authentication scheme their server supports.
-- The options are different for POP, IMAP, and SMTP. Unless you are told otherwise,
-- it's best to leave these at their default settings.
on getAndSetAuthenticationScheme(accountType, theAccount)
if accountType is equal to "POP" then
set theChoices to {"Password", "Kerberos 4", "Kerberos 5", "KPOP", "MD5"}
set theDefault to {"Password"}
else if accountType is equal to "IMAP" then
set theChoices to {"Password", "Kerberos 4", "Kerberos 5", "MD5"}
set theDefault to {"Password"}
else if accountType is equal to "SMTP" then
set theChoices to {"None", "Password", "Kerberos 4", "Kerberos 5", "MD5"}
set theDefault to {"Password"}
end if
set theResult to choose from list theChoices ¬
with prompt ¬
"Choose an authentication scheme for this " & accountType & " server. Most servers support 'Password' authentication." default items theDefault without multiple selections allowed
if theResult is not equal to false then
tell application "Mail"
set theScheme to item 1 of theResult
tell theAccount
if theScheme is equal to "Password" then
set authentication to password
else if theScheme is equal to "Kerberos 4" then
set authentication to «constant exutaxk4»
else if theScheme is equal to "Kerberos 5" then
set authentication to kerberos 5
else if theScheme is equal to "MD5" then
set authentication to md5
else if theScheme is equal to "None" then
set authentication to none
else if theScheme is equal to "KPOP" then
set authentication to «constant exutakpo»
end if
end tell
end tell
if accountType is equal to "SMTP" then
set theSMTPLogin to theUsername
set theSMTPPassword to thePassword
tell application "Mail"
tell theAccount
set user name to theSMTPLogin
set password to theSMTPPassword
set uses ssl to true
set port to 25
end tell
end tell
end if
end if
end getAndSetAuthenticationScheme
-- Handler for asking the user what POP deletion policy
-- they would like to use for their account.
on getDeletionPolicy()
set theResult to choose from list {"Immediately after being downloaded", "After a specified number of days", ¬
"When I remove them from the inbox", "Always leave them on the server"} ¬
with prompt ¬
"Choose a POP message deletion option:" default items {"Always leave them on the server"} without multiple selections allowed
return theResult
end getDeletionPolicy
-- Handler for setting the deletion policy established in getDeletionPolicy()
on setDeletionPolicy(theAccount, thePolicy)
tell application "Mail"
tell theAccount
if thePolicy is equal to "Immediately after being downloaded" then
set delete mail on server to true
set delayed message deletion interval to 0
else if thePolicy is equal to "After a specified number of days" then
set numberOfDays to my getDeletionInterval()
set delete mail on server to true
set delayed message deletion interval to numberOfDays
else if thePolicy is equal to "When I remove them from the inbox" then
set delete mail on server to true
set delete messages when moved from inbox to true
else if thePolicy is equal to "Always leave them on the server" then
set delete mail on server to false
end if
end tell
end tell
end setDeletionPolicy
-- Handler for asking the user what deletion interval they
-- would like to use, if they are setting up a POP account
on getDeletionInterval()
set theResult to display dialog "After how many days would you like POP messages to be deleted from the server?" default answer "30"
set numberOfDays to text returned of theResult as integer
return numberOfDays
end getDeletionIntervalHi amiaba, and a warm welcome to the forums!
I can't quite tell what it's doing, but open Keychain Access in Applications>Utilities, click on your Keychain on the left, put .mac in the search bar, once you find it, double click on it and click show password.
If you have no mail in there try this with Mail quit.
Drag this file to the Desktop...
/Users/YourUserName/Library/Preferences/com.apple.mail.plist
Start Mail & see if it steps you through it.
Not sure on the .uk thing, but is Date & Time>Time Zone set to the UK? -
Have Operating System 10.6.8, Mail Program 4.6.
How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
HelpHave Operating System 10.6.8, Mail Program 4.6.
How can I prevent the next email in the que from automatically opening after I act on the previous email ? It creates big organizational problems for me. My computer changes this mode from self opening to manually opening every few month with no ? action from me.
Help -
Many syncing and e-mail problems.
Hi folks, lots of syncing and e-mail problems here:
Syncing: My phone won't sync iCal (it tells me my phone is disconnected), my safari bookmarks or my email accounts. I've been through the threads here, tried resetting iSync, tried deleting calendars and resetting to 10 days instead of 30 -- still no luck. For e-mail, initially iTunes saw the e-mail accounts but did not sync theml. I tried the one-time advance settings and now it's not even seeing the accounts and still not syncing them. and for Safari, no luck with the bookmarks at all even thought the check-box is checked.
Also, the iPhone won't receive e-mail from any of my POP accounts, even the one I set by hand (because none of the settings synced.) I used the same settings that I have on my desktop, but no luck. I use RoadRunner, so I know I can't send off it. But I went to the genius bar today and they told me to just leave the SMTP server field blank and I should be able to receive, but all I get on wi-fi and edge is a message that says, "Cannot Get Mail, the connection to the server "pop-xxxxxx etc" failed." even on my home netowrk, with five bars, it can't seem to connect. (btw, it does seem to be working properly on my .Mac account, but I don't use that account for most of my correspondence.)
As far as the sync problems, the genius bar told me to reinstall iTunes, which I did with the new update that just came out this evening. Still no luck.
any thoughts? bum phone? some setting I'm not catching? any help would be appreciated.
Dave
Quad G5 Mac OS X (10.4.2)You will find the iPhone will freak out over any kind of perceived data corruption. Calendars seem to the worst for this (windows or mac)
Test in a new user and try sending info in each direction. If it works - then your phone works fine.
Other users have reported having to basically copy the contents of their calendars into a sticky or text edit window. delete the calendars and create brand new ones. they then just transfer the data back. -
What does it mean: "Calendar was created by Mail"?
I upgraded to the latest version of iCal. Now, when I try to input a new event, I get the message: " Calendar was created by Mail. You can not add an event to a Mail calendar. Does any one know what this means and what I need to do to change it so I can add events to iCal from my computer? By the way, I sync with my iPhone and am able to add events from my Phone which then show up on my calendar on my computer. - James
Greetings James,
This suggests you have a "Read Only" calendar in iCal. Look for a calendar on the left hand side of iCal which you don't recognize and don't use. Once you locate it you can click on it once to highlight it and then go to Edit > Delete.
Cheers. -
Error Mail Merge Aborted due to error in creating the Mail Merge DataSource
Dear All,
please help me with this problem (Oracle release 12.0.4.)
1. PROBLEM:
When attempting to extract data, using Web ADI in HRMS, Word is selected as the viewer, but an Excel spreadsheet is generated rather than a MS Word document containing the data. Also error "Mail Merge Aborted due to error in creating the Mail Merge Data Source." appears on screen.
We are using MS Office 2003.
2. PROBLEM:
Unable to create data source from HR form PAYWSLEE.
We are using custom integrator. This integrator is attached to form function. Form function is attached to responsibility. We also created the layout.
The next step would be to create data source from form PAYWSLEE, but we are not able to perform this...
In release 11i we used this form (PAYWSLEE) to create datasource (for mailmerge), but in R12 this is not working... Something is missing here and I need your help to determine what. I checked the most documents on Oracle Support and didn't find solution for this problem...
Please advise.
Kind Regards,
AndrejaHi all,
Thanks for visiting our forum and sharing your experience here. It'll be benefited to our communicator.
Have a good time.
Regards,
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
What a disaster. I've written about my mail problems before with mail before and I know what I managed to do this time is my fault, its something "I" don't understand about mail. But man am I screwed.
I use my imac 98% of the time and I get 100% of my email on it (mobileme, concast, gmail). All works fine.
A week ago I have an emergency appendix surgery and am doing rather poorly so I'm in bed on my macbook air. I need to get my email on that computer. I enable the email accounts so I can get all my "new" mail. Ugh, it starts syncing and bingo 2 weeks worth of mail on my imac is gone. No where to be found. Tons of work mail, important mail, lordy this is a mess.
I know it had something to do with syncing.. the only account that is imap is my mobileme but I lost a ton of mail in that and its not on either computer or on the mobile me page either. It's just gone. And so is the gmail on the imac and again that isn't imap its a pop account and it was mail that was not in my inbox, I had received it weeks ago and put it in other mail boxes I created (like the work folder). And it just is all gone.
IF anyone can shed some light on what I did and how to avoid this, I'd love that. Should I have just gone to the websites to check the mail (gmail site, comcast.net, mobileme site?)
I am really in trouble with this email thing I lost stuff that I can't recreate. What a huge huge mess.
thanks for any insight,
SusanThe issue....just resolved itself! I have not a clue how this happened...
-
Hi Jhe,
Hope you are fine.
I tried to create a mail session using the j2eetutorial14 examples.I did all the necessary settings like giving the mailhost name,defining JNDI name etc as per specification.But its throwing the following error please help me to solve this problem.
Feb 15, 2007 12:28:16 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: development3.s4indsoft.com; p
ort: 3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2257)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2278)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:208)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:221)
at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java
:104)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:
152)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:286)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:89)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:128)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:725)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:132)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:286)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at ConfirmerClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:237)
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)
Caused by: java.lang.RuntimeException: java.nio.channels.UnresolvedAddressException
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:336)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:191)
... 22 more
Caused by: java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:30)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:451)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:320)
... 23 more
Thanks & Regards,
R.Ramesh.This says it all.
Feb 15, 2007 12:28:16 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: development3.s4indsoft.com; p
ort: 3700"
MeTitus -
Programatically create new mail item and open - body text lost on subsequent saves
Hi,
I have a problem with trying to create new GroupWise mail item from a
button in a C3PO. I require programmatic access to this via the Object
API, so it must be a saved draft. This is relativley straight forward to
do - just create a mail item using the object API, and then use the Token
API to open this item.
This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
when the user does a subsequent save, the body text of the message
dissappears in the GUI (it is updated correctly in the draft however) -
and all subsequent saves cause the body text to dissappear. If you close
the mail item and open the draft manually you can continue as normal.
As a test, I also tried to use the Token API to create a new mail item,
and then again to save the item in the work in progress folder. This
seems to work fine the very first time you do this, but each subsequent
time the same behaviour is seen - i.e. the body text of the email is
deleted from the GUI. Also, another observation here, event though the
mail item was saved in the WIP folder via the token API command
ItemSaveMessageDraft, it moves into the users MailBox when the user saves
it manually.
I have posted the two snippets of code from my test C3PO project at then
end.
This is a major problem, as we need to be able to reliably create new mail
items from a toolbar button, so any help very much appreciated.
Regards
Greg
Test case 1: Create a new message object in the WIP folder, and then open
it using Token API...
Dim sRetString As String
Dim DraftMail As Object
Set DraftMail =
g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
("GW.MESSAGE.MAIL", egwDraft)
g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
Test case 2: Create a new mail via token API, then use token API to save
the item in the WIP folder...
Dim sRetString As String
' create the new mail item...
g_Commander.Execute "NewMail()", sRetString
' Get the folder path as a string..
Dim GWFolder As Object
Dim sAccount As String
Dim sFolderPath As String
sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
sFolderPath = sAccount & "\" & GWFolder.Name
' dirty the message so save works...
g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
' do the save...
g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
sRetStringHi,
I have a problem with trying to create new GroupWise mail item from a
button in a C3PO. I require programmatic access to this via the Object
API, so it must be a saved draft. This is relativley straight forward to
do - just create a mail item using the object API, and then use the Token
API to open this item.
This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
when the user does a subsequent save, the body text of the message
dissappears in the GUI (it is updated correctly in the draft however) -
and all subsequent saves cause the body text to dissappear. If you close
the mail item and open the draft manually you can continue as normal.
As a test, I also tried to use the Token API to create a new mail item,
and then again to save the item in the work in progress folder. This
seems to work fine the very first time you do this, but each subsequent
time the same behaviour is seen - i.e. the body text of the email is
deleted from the GUI. Also, another observation here, event though the
mail item was saved in the WIP folder via the token API command
ItemSaveMessageDraft, it moves into the users MailBox when the user saves
it manually.
I have posted the two snippets of code from my test C3PO project at then
end.
This is a major problem, as we need to be able to reliably create new mail
items from a toolbar button, so any help very much appreciated.
Regards
Greg
Test case 1: Create a new message object in the WIP folder, and then open
it using Token API...
Dim sRetString As String
Dim DraftMail As Object
Set DraftMail =
g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
("GW.MESSAGE.MAIL", egwDraft)
g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
Test case 2: Create a new mail via token API, then use token API to save
the item in the WIP folder...
Dim sRetString As String
' create the new mail item...
g_Commander.Execute "NewMail()", sRetString
' Get the folder path as a string..
Dim GWFolder As Object
Dim sAccount As String
Dim sFolderPath As String
sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
sFolderPath = sAccount & "\" & GWFolder.Name
' dirty the message so save works...
g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
' do the save...
g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
sRetString -
Incoming Survey/Mail Problem
Hi Gurus,
I met an incoming survey/mail problem, and need your help:
"Survey" can be created and sent to vendor's external mail address successfully via the "Portal --> Supplier Evaluation --> Create Survey", but the problem is, the system could not receive any incoming mails or survey results. Kindly please help.
Thanks and best regards
AlanHi alan
Please check SAP note :
779972 SURVEY: Configuration required to receive emails
607108 Problem analysis when sending or receiving e-mails
552616 FAQ: SAPoffice - Sending to external recipients
455140 Configuration of e-mail, fax, paging or SMS using
Summer Wang
Maybe you are looking for
-
Open a PDF with in My Windows Form
Hi - I have to open a PDF document within my windows form and control some of the functionalities like Save etc. What are the Adobe dll's that my project needs a reference. If so do i need a license for this. Thanks in advance.
-
Safari is.. Totally Freaking Out
Alright, so, long time user here, and I'm experiencing a strange problem with Safari. I've done a bit to try and remedy it, but to no avail. I've had a few friends log onto their various Twitter, Facebook, etc accounts on my computer. Being the confi
-
How Do You Copy and Paste in iPhoto
How do you copy and paste in iphoto. When I highlight a picture and duplicated it I click on the duplicate picture and drag it into my other event however it takes the original and the duplicate pictures into the new event and I lose the pictures fr
-
How to connect to and communicate with an SQLite database in AIR/Flex
Hey guys, I recently decided I would try programming a vocabulary-training program in AIR, so I could use it on Linux as well. I got stuck pretty soon. I am trying to connect to a local SQLite database and I obviously fail epically. Posting the sourc
-
Stock transport orders and demand planning
I have 2 plants 1000 and 2000. 1000 sells Finished goods(FG) to customers and also does a inter plant transfer of FG from from 1000 to 2000. We use a STO to do the transfer. Plant 2000 also sells to customers. We are doing a consumption based plannin