Help with javamail
Hi,
I am working with latest Jdev. I am developing a servlet that uses javamail. I also downloaded latest javamail and activation apis from sun, and configured the jdev project to look for the libraries.
So, I have this error:
Error(418,34): variable RecipientType not found in class Message
I have checked everything: the import statements, and here is the code:
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
Session session = Session.getInstance(props, null);
session.setDebug(false);
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject(subject);
message.setText(text.toString());
Please Help!
Thanks,
Lorenzo Jiménez
Check for the version of the java mail and the API Docs. You may be using a version for development and other that does not have such variable defined for running
Hope it helps,
Daniel Campelo
Similar Messages
-
Need help with JavaMail AuthenticationFailedException
I got authentication errors, please help me:
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import com.sun.mail.smtp.SMTPSSLTransport;
public class MailSender extends javax.mail.Authenticator{
public static void send(String smtpHost, int smtpPort,
String from, String to,
String subject, String content)
throws AddressException, MessagingException {
String username = "z.****@**************.com";
String p = "********";
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// Create a mail session
java.util.Properties props = new java.util.Properties();
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.host", smtpHost);
props.put("mail.smtp.port", ""+smtpPort);
Session session = Session.getDefaultInstance(props, null);
// Construct the message
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(from));
msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
msg.saveChanges();
msg.setSubject(subject);
msg.setText(content);
// Send the message
Transport transport = session.getTransport("smtp");
transport.connect(smtpHost, username, p);
transport.send(msg);
public static void main(String[] args) throws Exception {
// Send a test message
send("auth.smtp.1and1.co.uk",
587,
"z.****@****************.com",
"[email protected]",
"Hello", "Hello, \n\n How are you ?");
System.out.println("Mails has been sent!");
} The error message is:
Exception in thread "main" javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:319)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at javax.mail.Transport.send0(Transport.java:188)
at javax.mail.Transport.send(Transport.java:118)
at MailSender.send(MailSender.java:38)
at MailSender.main(MailSender.java:45)
Thanks!!Read the FAQ, turn on session debugging, and post the protocol trace.
-
Hi chaps,
At our company we use the JavaMail API through JNI to send emails externally to customers.
Recently the business has decided that it would be nice to send pound (�) through, however it's not going to plan.
Normally the messages are encoded in 7-bit which would seem to exclude the � (163), however it seems that it is first converted to a (=80, hex with no ascii correlation) and then to a Euro symbol.
I've tried setting the "allow8bitmime" property in order to enable the SMTP service to support 8-bit encoding, but it's not working AND Microsoft say that our Exchange (v5.5) doesn't support 8-bit MIME types. The odd thing is that sending external emails via Exchange supports the � with no problems and is read in the mail reader as 8-bit encoded (!).
Has anybody had any experience with issues like this ? Any reply appreciated.
Thanks
AmmoniteAmmonite,
I am working on a similar problem.. Did you say your
email gets translated and prints the Euro symbol... I
actually need out email to print Both the pound and
the Euro and it does niether right now.. The current implementation I am working on will display a Euro instead of a pound, although this isn't by design. The message is encoded using "Quoted-Printable" and substitutes the pound for a =80 character. How this maps to a Euro is unknown to me :(
In standard ascii the pound is outside the standard 7-bit encoding range (163) and featured in the Extended Set on the platform we use. I'm not sure about the Euro. The Iso-8859-1 charset which SH provided supports the pound in "Quoted-Printable" encoding, but this hasn't been well received by JavaMail MIME objects that I have tried.
I haven't managed any sort of 8-bit encoding with JavaMail as yet, due to supposed lack of support in Exchange 5.5 and lack of response to the "allow8bitmime" property.
does anyone know is using MimeMessage limit the
message to ASCII characters only and does that rule
out the Euro and the Pound symbol/
It shoudn't rule them out, but I'm starting to believe that MimeMessages are necessarily helping things here :) -
Sending chinese HTML with javamail - is there no definitive answer ?
I'm using the following code to send a HTML and text e-mail
(text for people with HTML-challenged email clients). I sent
2 emails to 2 email addresses which reside on the same server
- eg. [email protected] and [email protected] - and read the
emails with the same e-mail client (Eudora) on the same PC.
The HTML and Chinese displays perfectly when it's sent to one
of the email addresses ([email protected]) but the HTML and
Chinese are always corrupt when I send them to the other.
This is a repeatable error and it has me completely stumped.
// Example Initial values (drawn from a database) :
String smtpHost = "mail.mydomain.com";
String sender = "[email protected]";
String subject = "Give me strength.... ";
InternetAddress sender = new InternetAddress("[email protected]");
InternetAddress receiver = new InternetAddress("[email protected]");
String txtMsg = "a long text message blah...";
String htmlMsg = "<h1>Wooo</h1><img src='http://mydomain.com/blink.gif'>";
String language = "zh-tw" // can also be "en-us" or "zh-cn"
// CREATE MAIL MESSAGE & HEADERS
Properties props = System.getProperties();
props.put("mail.smtp.host", smtpHost);
Session session = Session.getDefaultInstance(props, null);
Message msg = new MimeMessage(session);
msg.setFrom(sender);
msg.addRecipient(Message.RecipientType.TO, receiver);
msg.setSubject(subject);
msg.setSentDate(new Date());
msg.setHeader("Mime-Version" , "1.0" );
msg.setHeader("Content-Transfer-Encoding", "quoted-printable");
// MESSAGE BODY - TEXT & HTML
MimeMultipart mimeAllContent = new MimeMultipart("alternative");
MimeBodyPart mimeText = new MimeBodyPart();
MimeBodyPart mimeHtml = new MimeBodyPart();
mimeText.setText(textMsg);
mimeText.setHeader("Mime-Version" , "1.0" );
mimeText.setHeader("Content-Type" , "text/plain");
mimeText.addHeader("Content-Type", "charset=UTF-8");
if (!language.equals("")) {
mimeText.setHeader("Content-Language", language);
mimeText.setHeader("Content-Transfer-Encoding", "quoted-printable");
mimeHtml.setContent(htmlMsg, "text/html");
mimeHtml.setHeader("Mime-Version" , "1.0" );
mimeHtml.setHeader("Content-Type" , "text/html");
mimeHtml.addHeader("Content-Type", "charset=UTF-8");
if (!language.equals("")) {
mimeHtml.setHeader("Content-Language", language);
mimeHtml.setHeader("Content-Transfer-Encoding", "quoted-printable");
mimeAllContent.addBodyPart(mimeText);
mimeAllContent.addBodyPart(mimeHtml);
msg.setContent(mimeAllContent);
msg.setHeader("Content-Type" , mimeAllContent.getContentType());
// SEND THE MESSAGE
msg.saveChanges();
Transport.send(msg);
return true;
Let me repeat - Using the code below, a HTML & Text ("Alternative"
MimeMultiPart) message is sent, and arrives at the recipient's
mailbox. When it is sent to one user ([email protected]), it never
renders properly. When it is sent to another ([email protected]), it's
OK. The destination server, email client, PC are the same in both
cases and the only variable is the recipient's email address.
How can this be ?
I think I've gone overboard by setting the Content-Transfer-Encoding
for both the HTML and Text MimeParts as well as the actual Message.
Could somebody please confirm which parts I should set the Content-
-Language, Content-Transfer-Encoding and Content-Type b/c I'm
going in circles at the moment.
Thanks indeed, to anybody who has experience sending doublebyte
with Javamail and can help me clear this up once and for all.
I find it incredible that after 3 years, there is still no
definitive answer to accomplishing this, and it remains an
elusive black art.
Regards,
chas
ps. The data being sent is in MySQL not that that matters at all.Try adding code to validate submitted email addresses before they go into your database.
String emailAddress = (from where ever)
if(emailAddress != null) emailAddress = emailAddress.trim();
if(emailAddress == null) // skip this address
// I also check for a list of illegal internet email address characters, as I think the email addresses allowed by Javamail are too lenient. -
How to use gmail with JavaMail
JavaMail 1.4 is capable of sending and reading messages using gmail.
All that's required is to properly configure JavaMail. I'll
illustrate the proper configuration using the demo programs that
come with JavaMail - msgshow.java and smtpsend.java.
Let's assume your gmail username is "[email protected]" and your
password is "passwd".
To read mail from your gmail Inbox, invoke msgshow as follows:
java msgshow -D -T pop3s -H pop.gmail.com -U user -P passwdBy reading the msgshow.java source code, you can see how these
command line arguments are used in the JavaMail API. You should
first try using msgshow as shown above, and once that's working
move on to writing and configuring your own program to use gmail.
To send a message through gmail, invoke smtpsend as follows:
java -Dmail.smtp.port=587 -Dmail.smtp.starttls.enable=true smtpsend
-d -M smtp.gmail.com -U user -P passwd -A [email protected](Note that I split the command over two lines for display, but you
should type it on one line.)
The smtpsend command will prompt for a subject and message body text.
End the message body with ^D on UNIX or ^Z on Windows.
Gmail requires the use of the STARTTLS command, and requires a
non-standard port, which the smtpsend program doesn't have command
line options to select so we set them as System properties on the
java command. The smtpsend.java program uses the System properties
when creating the JavaMail Session, so the properties set on the
command line will be available to the JavaMail Session.
Again, you can read the smtpsend.java source code to see how the
command line arguments are used in the JavaMail API. There is,
of course, more than one way to use the JavaMail API to accomplish
the same goal. This should help you understand the essential
configuration parameters necessary to use gmail.
And no, I won't send you an invitation to gmail. Sorry.I notice that it's possible to have sticky posts in these forums. See
http://forum.java.sun.com/forum.jspa?forumID=534
the Concurrency forum for an example. Posting a link to the FAQ in a sticky post might reduce the number of FAQs asked here by maybe 1%? Or posts like this one might do well as a sticky? -
Creating users with javamail in cyrus
Hi!
please, help me!!! I'm in problems..
I need to create users (accounts) with javamail in cyrus.. but I don't know how to do that... The connect method requires a user but which user I have to put there in this case?
Can anybody give me a solution please?
thanks!
KaryManagement issues are beyond the scope of JavaMail.
-
Help with adding a hyperlink to a button?
We have a simple little site we built in Catalyst and everything works great. The only problem is that we cannot figure out how to add a hyperlink to one of the buttons in the animation. We simply want to be able to click on the button and go to another site (the client's Facebook page specifically). Can anyone provide some insight? Thanks!
The message you sent requires that you verify that you
are a real live human being and not a spam source.
To complete this verification, simply reply to this message and leave
the subject line intact.
The headers of the message sent from your address are shown below:
From [email protected] Tue Nov 03 19:08:07 2009
Received: from mail.sgaur.hosted.jivesoftware.com (209.46.39.252:45105)
by host.pdgcreative.com with esmtp (Exim 4.69)
(envelope-from <[email protected]>)
id 1N5TPy-0001Sp-J1
for [email protected]; Tue, 03 Nov 2009 19:08:07 -0500
Received: from sgaurwa43p (unknown 10.137.24.44)
by mail.sgaur.hosted.jivesoftware.com (Postfix) with ESMTP id 946C5E3018D
for <[email protected]>; Tue, 3 Nov 2009 17:08:03 -0700 (MST)
Date: Tue, 03 Nov 2009 17:07:49 -0700
From: Tvoliter <[email protected]>
Reply-To: [email protected]
To: Matthew Pendergraff <[email protected]>
Message-ID: <299830586.358941257293283616.JavaMail.jive@sgaurwa43p>
Subject: Help with adding a hyperlink to a button?
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_36702_1132901390.1257293269030"
Content-Disposition: inline
X-Spam-Status: No, score=-3.4
X-Spam-Score: -33
X-Spam-Bar: ---
X-Spam-Flag: NO -
I Can't send a message with JavaMail
I can't send mail with JavaMail. I Try send a e-mail, for example, to: [email protected], from: [email protected], my smtp: smtp.alunos.ufu.br, but when i try it, i received a message the e-mail [email protected] not in server smtp.alunos.ufu.br.
I don't anderstend what happen. I need the alunos.ufu.br send my message to [email protected]
Somebody can help me ?????I think the problem is that your smtp server smtp.alunos.ufu.br is not relaying to addresses not local to itself. Please post the exact stack trace. There is some 500 level error being returned by the server that will tell you exactly what is happening.
-
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone?
Thank you in advance,Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for Firefox support.
-
Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance!Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance! -
Help with HP Laser Printer 1200se
HP Support Line,
Really need your assistance. I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance. I then sent an e-mail for assistance and got that reply today, the reply is as follows "Randall, unfortunately, HP does not offer support via e-mail for your product. However many resources are available on the HP web site that may provide the answer to your inquiry. Support is also available via telephone. A list of technical support numbers can be round at the following URL........." The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
So here I am looking for your help with my issue.
We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us). We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7). However we use our Laser Printer for all of our regular prining needs. This is the HP LaserPrinter 1200se, which is about 6 years old but works really well. For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC. The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
We posed the following two questions:
1. Is the Laser Jet 1200se compatible with Windows 7?
and if this is the case
2. Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
We really would appreciate any assitance that you might give us.
Thank you,
Randy and Leslie GibsonSorry, both cannot be enabled by design. That said, devices on a network do not care how others are connected. You can print from a wireless connection to a wired (Ethernet) printer and v/v.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Going to Australia and need help with Power converters
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.godzillafan868 wrote:
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.
Check the specs on input voltage/frequency of your power supplies.
Many laptop power supplies are "universal/global" and are specced something like 80-265 volts AC 50/60 Hz, but not all. These will just need a connector adapter.
Unsure about the PS3 Slim - if it isn't universal it could be difficult as you'll need a 110/220 transformer, one big enough (power-handling wise) for the PS3 will be very bulky.
For the external WD HDD, if it doesn't have a universal supply, you're probably best off just finding a new wallwart for it that is capable of running on 220/50.
*disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies. -
Creation of context sensitive help with pure FM 12 usage doesn't work
Hi,
I hope somebody is able to help me with a good hint or tip.
I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
What did I do?
- I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
- I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
#define 2000 2000 /* 4 Anwendungsoberfläche */
#define 2022 2022 /* 4.1.1 Menü Datei */
#define 2030 2030 /* 4.1.3 Menü Parametersatz */
#define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
#define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
#define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
- I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
#define 2000 1
#define 2022 2
#define 2030 3
#define 2180 4
#define 2354 5
#define 2560 6
- When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
Example:
<p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
Please help!
Many thanks
MohiHi Jeff,
thanks for your note!
The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
#define 2000 2000.
Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
I am still confused :-/
Thanks
Mohi -
Need help with Boot Camp and Win 7
I have iMac 27" (iMac11,1) 2.8 GHz, quad core, 8MB of L3, 8GB of Memory, Boot ROM Version IM111.0034.B02 and SMC Version 1.54f36 and can't get this machine to run Windows 7 using Boot Camp. I have successfully loaded Win 7 but when it claims to be starting I only get a black screen after initial start up.
I have checked and rechecked my software updates and have read and reread the instructions, however, I can't update my Boot Camp to 3.1 (my machine says i'm running 3.0.4) and I need 3.1 but can't load 3.1 because it is an exe file that has to be loaded into Windows after I load Windows but can't open Windows because I can't load Boot Camp 3.1. That's my excuse anyway, so I'm missing something I just can't figure out what it is....this is where you come in!
Thanks.
MikeMike,
I'm not going to be much help with Boot Camp however I can direct you to the Boot Camp forum where there are more people that know how to troubleshoot it and Windoze 7. You can find it at:
https://discussions.apple.com/community/windows_software/boot_camp
Roger
Maybe you are looking for
-
This is technically not a new question. I asked it nearly a year ago and got no satisfactory response. I find that when I waken my iMac from sleep by pressing the space bar it highlights an apparently random icon on the desktop. Then, if I hit the sp
-
Hi, I am getting error while doing listing. "Manual module selection and checking procedure not possible at present. Please advise the resolution and root cause of the error. Regards prawmu
-
Conversion of Japanese Code to English Language
Hi, I have a requirement to convert existing Oracle Forms 4.5 coded in Japanese. I need to convert it into Oracle Forms 6i. Can any body tell me how can I convert existing Japanese code in to english. Cheers Madhu M Mishra
-
Storage class not allowed in storage type
Hi All, I am getting this error while confirming the TO. It stays Storage class is not allowed in Storage type but how can this be configured in OMM2. or do we need to define any sequence in OMLY.
-
Im familiar with Unity 3D which is 3D game engine for pc, mac, android, iphone and ipad platforms. Last year Microsoft said that they are not going to support native code on WP7. This was before Nokia. Now when this new deal came public is Nokia goin