Sending Mail problem - Very Urgent
I want to send mail through the Java code using struts framework.It works fine olny with the authentication.I want suggestions for sending mails without authentication.
{color:red}CROSS POSTED{color}
{color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5245789
{color}
Cross posting is rude.
And as I noted on the other thread, looks like a identity fraud requirement to me.
db
Similar Messages
-
Send Mail is very... very slow!!!
Over the past week I have noticed that when I go to send a message or reply to a message... it is very slow. It is almost similar to when you send a large attachment... the only problem... I am not sending anything except the email.
Any thoughts or suggestions? I just did a fresh OSX install and it is still the same. Very slow. I have a 15/2 internet connection... I have tested that and it is good.
Thanks,
RonnieSame problem and found that the a feature in leopard mail accounts caused the problem .. I work from several places and to make it easier to send mail rather than selecting new from everytime I changed the account to allow other servers to be used .. it was slow to send all the time .....then today 4-5 weeks later I decided to change the setting back to this server only. voila.... speed again..
go to mail preferences accounts and tick the outgoing server to use only this server....
I made the change when i got my new Macbook pro....(should have left alone) -
SAPscript Output Problem - Very Urgent - Please help
Hi,
I am having the following problem with SAPscript.
In the Main Window, I have instructions to the printer in the ZPL2 language (For Zebra Printer).
There are also several variables, which are highlighted in Gray and enclosed in the&.
There are also several elements all of them empty except for the one where this code is.
Now, I received this program to modify in terms of code and the output.
IF you have never done any work with Zebra Printing, the way it is done is that you create a label using the Zebra BarOne or Zebra Designer program, then output it to an itf file, upload it into a standard text as .itf and copy the uploaded contents to the main window. When printing to a Zebra printer, the Zebra printer will read the instructions and will print the output.
Here is the problem: The config for the output type is correct.
When doing a printing test from SAPscript, I get the right output and the Zebra printer is able to print it.
However, the real process for this task will go through MB02. There, if I create a spool request using the proper method (select output type and etc.), it will go the spool. However, if I print preview or output (doesnt work with the Zebra printer, so I have to output to the Laser printer), it will output the following (none of the following includes any of the ZPL2 code/instructions. Instead, it seams to print the variables contents with the field name next to it This isnt whats its the Main window!!!)
http://img244.imageshack.us/img244/6915/66052475zk2.jpg
Please help. I have debugged but dont know what to do and cant find anything wrong.
This is very urgent. Any help will be useful.
Thanks,
JohnOk, maybe I have confused others in regards to the issue as well.
We expect this label to be output from a Zebra Printer.
When output through Sapscripts printing test, the preview from the spool shows the ZPL2 code in small font (non readible if a created a screenshot) and if sent to the Zebra Printer, it prints the label correctly.
When output through MB02, the preview from the spool shows the code that I have attached to the 1st post in this thread. If I try to output to the Zebra Printer, nothing happens because the ZPL2 instructions are not even in the preview and therefore, the Zebra printer recieves no instructions. I should not have mentioned the laser printer, because it has nothing to do with this issue.
I hope that this makes the issue a little more clear and understandable. Please help.
Here is the ZPL2 coding before uploading to standard text (only difference is that once uploaded, the '/' characters are removed.) However, I believe that the problem may lie in the print program and how it compiles but I debugged and haven't really seen where it comes from:
/:NEW-PAGE
/ ^XA
/ DFNEW-RE-1FS
/ ^PRC
/ LH0,0FS
/ ^LL1830
/ ^MD0
/ ^MNY
/ LH0,0FS
/ FO244,854A0N,55,46CI13FRFB154,1,0,LFN999^FS
/ FO819,698A0N,55,46CI13FRFN998FS
/ FO245,477A0N,55,46CI13FRFB755,1,0,RFN997^FS
/ FO389,926A0N,55,46CI13FRFB654,1,0,RFN996^FS
/ BY3,3.0FO42,1072B3N,N,152,N,YFRFN995FS
/ FO276,1258A0N,55,46CI13FRFN995FS
/ FO484,774A0N,55,46CI13FRFN994FS
/ FO817,774A0N,55,46CI13FRFN993FS
/ FO611,556A0N,55,46CI13FRFN992FS
/ FO245,556A0N,55,46CI13FRFN991FS
/ FO397,117A0N,55,46CI13FRFN990FS
/ FO245,405A0N,55,46CI13FRFB880,1,0,RFN989^FS
/ FO244,698A0N,55,46CI13FRFN988FS
/ FO629,998A0N,55,46CI13FRFN987FS
/ FO244,623A0N,52,42CI13FRFN986FS
/ FO397,261A0N,55,46CI13FRFB404,1,0,RFN985^FS
/ FO819,854A0N,55,46CI13FRFN984FS
/ FO725,554A0N,55,46CI13FRFN983FS
/ FO397,189A0N,55,42CI13FRFB695,1,0,RFN982^FS
/ FO397,333A0N,55,42CI13FRFN981FS
/ FO638,333A0N,55,42CI13FRFN980FS
/ FO391,21A0N,63,63CI13FRFB433,1,0,CFN979^FS
/ FO36,698A0N,55,46CI13FR
/ FDWBS:FS
/ FO37,405A0N,55,46CI13FR
/ FDMATL:FS
/ FO37,478A0N,62,44CI13FR
/ FDDESC:FS
/ FO554,698A0N,55,46CI13FR
/ FDSUPPLIER:FS
/ FO32,625A0N,55,46CI13FR
/ FDTEXT:FS
/ FO35,1258A0N,55,46CI13FR
/ FDBATCH NO:FS
/ FO770,775A0N,63,51CI13FR
/ FD/FS
/ FO32,854A0N,55,46CI13FR
/ FDESHM:FS
/ FO37,556A0N,55,46CI13FR
/ FDQTY:FS
/ FO32,998A0N,55,46CI13FR
/ FDSAP MATERIAL DOC NO:FS
/ FO525,333A0N,55,46CI13FR
/ FDofFS
/ FO556,854A0N,55,46CI13FR
/ FDINSPECT:FS
/ FO32,926A0N,55,46CI13FR
/ FDUNLOADING:FS
/ FO37,117A0N,55,46CI13FR
/ FDSTOCK TYPE:FS
/ FO32,774A0N,55,46CI13FR
/ FDPURCHASE ORDER:FS
/ FO37,188A0N,55,46CI13FR
/ FDDELIVER TO:FS
/ FO37,260A0N,55,46CI13FR
/ FDSTORAGE LOC:FS
/ FO37,332A0N,55,46CI13FR
/ FDCONTAINERS:FS
/ FO1,1359GB1217,0,6^FS
/ FO594,1359GB0,474,6^FS
/ ^XZ
/:NEW-PAGE
/ ^XA
/ ^XFNEW-RE-1.ZPL
/ FN999FD&ATWRT_HAZAMAT(6)&^FS
/ FN998FD&EKKO-LIFNR&^FS
/ FN997FD&MABDR-MAKTX&^FS
/ FN996FD&MSEG-ABLAD&^FS
/ FN995FD&MSEG-CHARG&^FS
/ FN994FD&MSEG-EBELN&^FS
/ FN993FD&MSEG-EBELP&^FS
/ FN992FD&MSEG-ERFME&^FS
/ FN991FD&MSEG-ERFMG&^FS
/ FN990FD&MSEG-INSMK(1)&^FS
/ FN989FD&MSEG-MATNR&^FS
/ FN988FD&MSEG-MAT_PSPNR&^FS
/ FN987FD&MSEG-MBLNR&^FS
/ FN986FD&MSEG-SGTXT(40)&^FS
/ FN985FD&MSEG-UMLGO&^FS
/ FN984FD&QALS-PRUEFLOS&^FS
/ FN983FD&V_BACKORDER&^FS
/ FN982FD&V_NAME3&^FS
/ FN981FD&WS_CNTR&^FS
/ FN980FD&WS_CON&^FS
/ FN979FD&WS_HEADER& &^FS
/ ^PQ1,0,1,N
/ ^XZ
/ ^FX End of job -
Report painter problem very urgent
Hi to ALL,
I have prepared two reports of cost centre through report painter. The format is proper is both the reports. The set is also correct and values in set(i.e cost centres) are also properly
but when we execute the report one report is being executed properly while other shows zero values. only when i doubleclick on zero amt and go to plan line items then it shows me values for that particular row in report.
Why is it so? what is solution to it? can it be possible that my tables are not correct. Ia m using CCSS table.
Pls this is very urgent
Thanks in advance
TanujaHi
Can you check one thing...after selecting the zero you are getting the line item...chekc the total of that items...if it is coming zero..then no problem.
If not you can check in the no.format of that report. If you select the lacs format and your amount is below ten thousand...you will get the zero value only
VVR -
Germany - sending mail problem
as many before am not able to send mail from my private email account - neither via edge nor when using wifi. However it works from my .Mac account. It is an SMTP issue. My ISP tells me that the server drops after ehlo. In order to gather some more information, I have this question to the proud folks sporting a new t- mobile iPhone since Friday:
What SMTP server is recomended by t-mobile when sending via edge (if they do recomend one at all)?
Anyone having the same problems out there with an idea why theserver may drop conection and a work around (other than using a different ISP)
Thanx,
ChristophNot sure but since .Mac's SMTP server is authenticated and this works when sending messages from the iPhone with your .Mac account, this indicates your ISP's SMTP server is not authenticated or something else is wrong.
Did you transfer the account settings from your computer to the iPhone via the iTunes sync process?
If so, try deleting the account and manually recreating the account on the iPhone but if this works and you did transfer the account settings from your computer to the iPhone via the sync process, be sure to deselect this option before the next sync or your changes made on the iPhone will be overwritten. -
hello
pleze i tried to send mails from a servlrt in my application
i tried it from a sample in tomcat sendmail.jsp which is connect with
a servlet that manuplates the name and content for tha mail
the problem is
i can't do it from my application which take this servlet and
put it in WEB-APP in the Root it gave me an exception
javax.naming.NameNotFoundException: Name mail is not bound in this Context
pleze help how can i manuplate with it to put it in my application in root
thanxu've got to put your code on the screen so we can have a look at what u might be doing wrong
-
Recently sending mail from my pop account mailbox seems to be taking ages, even for short messages. It has always been pretty quick until just recently, when the rotating cog keeps rotating for about a minute or two for one small message. Is this something I can fix on my computer or is it the server? Linda
This sounds like the same thing that's happening here at my job. Just in the past few weeks everyone has noticed that when they send an email it takes several minutes for the email to actually be sent.
An like the other poster said, there doesn't seem to be any problems when using webmail. I tested it out and sent a message from my account on webmail and I was watching the mail queue on the server. As soon as I sent it from webmail it was in the queue. When I send a message using the Mail App it doesn't appear in the server queue until it is actually sent from the Mail App, which can take over a minute for me, and I've heard other people say it's taking up to 2 hours from their computers!
I hope there's some sort of fix for this. I'm willing to bet it's not just us having this problem... -
Yet another can receive, but can't send mail problem.
I’m having trouble with Mail. I have reviewed the various posts by others who have a similar problem. I’ve tried their suggestions, but none have worked for me. I just bought a new G5 PowerMac. I have set the account preferences exactly like my PowerMac G4 and PowerBook G4, but I cannot send messages on any account. I can receive messages. When I try to forward a message by clicking the forward button, nothing happens - no new reply window appears. Likewise, when I compose new message and click the send button nothing happens. My setting are correct and the same as the other Macs noted above. Both of them will send and receive messages using the same DSL connection as the G5. I have two hard drives on my G5 both with OS 10.4.3 installed. I use the second drive to start up on when I have trouble with my main drive. I started on the other drive, which had no mail settings, and tried to set up my accounts. In this case I got a message stating that the mail server could not be accessed. I went ahead and set the accounts anyway, then made sure the settings were correct. This implies that there is something wrong with my new G5 or there is a bug with Mail using the G5 since I have no problems with the other Macs. I haven't time to contact the help line and hope someone knows how to fix this problem.
Hi Dancing Brave,
Thanks for visiting Apple Support Communities.
I recommend starting with the steps in this article if you are not able to send mail:
OS X Mail: Troubleshooting sending and receiving email messages
http://support.apple.com/kb/ts3276
Best,
Jeremy -
Having mail problem very slow opening, deleting, unable to move to folders
Have a 2 GHz Intel Core Duo Mac OS X Ver. 10.6.8 - Having AppleMail problems: very very very slow opening any new incoming mail, can't delete, can't assign to Spam, and can't move to any folder for storing, and can't empty trash. Seems to be corrupted and might need to reload the Mail Program (Version 4.6) and need to know if I can reload the mail program and if I did would I lose all the data stored in folders? I don't know how to reload the Mail program. Also the entire computer seems to be slow to react as well but mail is worse. I've checked and emptied caches for the browsers I use. Connecting to Internet all right but as I said, slow to react. I would appreciate any advice. Thank you.
MichelPM, I don’t know how to find out how full is my Mail app. I confess to being mostly an ignoramus about computer hardware, software, applications storage and usage. I know where to look for some stuff, but I don’t know what all the information means. I found the page under About this Mac Serial-ATA that gives the following info: Macintosh HD:
Capacity: 319.73 GB (319,728,959,488 bytes)
Available: 270 GB (270,003,339,264 bytes)
Then under Memory Slot there are two banks in Bank 0 all categories are empty but Bank 1 says
Size: 1 GB
Type: DDR2 SDRAM
Speed: 667 MHz
Status: OK
I usually have three browsers open and one to two wordprocessers (Word and TextEdit), the resident Dictionary. When needed but closed when done with the current activity are Preview, Adobe Reader. I do have a lot of documents on the desktop and filed in folders are uncountable. I could commit most of these to flashdrives if I have to, but I’m not sure how to save all the stuff I have in folders in the Mail app. I do not run any antivirus or “crapware” software that I can find in the MacHD applications folder. I’ve never downloaded such programs. I will commence to copy to external drives data I wish to preserve. Can I copy the entire mail set of archive folders to an external hard drive? I have a La Cie.
With much appreciation for any help you offer,
MMarvelous -
Apple mail problem. URGENT
suddenly apple mail fails to work with inward mail (using pop3). all smtp (whether i restart or not does not help) are 'Offline'.
Tried various options, changing location etc. but nothing seems to help. what is going wrong.
download used for both gmail and .mac so can t be the problem. Using Leopard ...Hi,
Are you able to send mail with Mail? If so, that would verify that your Internet connection is O.K., and that there is probably something wrong with the account setup parameters that Mail has for your email account. In Mail's Preferences, under the "Account Information" for your account in the "Accounts" (icon at the top row of Preferences sections), make sure that all of the information is entered correctly, especially the "Incoming Mail Server". Contact your Internet Service Provider for your email account for the correct values to use in this section.
Ken -
Send Mail Problem with .Mac
I cand send mail successfully from other accounts configured on the phone(both POP and IMAP), but I get errors when sending from my .Mac account.
I found this article:
http://www.wireless.att.com/support/knowledgeBase.do?content=KB72769.html
...but .Mac account config pages on the iPhone don't provide a field for Outgoing Server to change. Actually, this article fixed the problem with my other accounts.Thanks for the reply, Nathan.
I had already found that article. Snip below...
iPhone includes preset configurations for many of the
popular providers such as Yahoo! Mail, Gmail, .Mac,
and AOL, and in most cases sending mail will just
work.
However if you are using a different provider
than above...
Unfortunately, if you select ".Mac" for type of
account, the configuration screen does not provide a
field at all for Outgoing Server. This suggestion
only works if you are not using one of the providers
listed. It is apparently hardcoded by Apple when you
choose ".Mac". I also tried to fool it by creating a
generic IMAP account, but providing my .Mac info.
This didn't work either.
then don't select .mac, just select "Other", then select POP (or IMAP).
incoming mail server: mail.mac.com
outgoing mail server: smtp.mac.com:587
enter in your username and password
i set up my .Mac email manually by selecting "Other" and choosing POP and it is working fine. -
hello all,
I have two databases one in a DMZ and one that is not call it (local)
On local I have created a mail procedure that can send mail to users.
The same procedure does not work on the machine in the DMZ.
I thought it might have something to do with being in the DMZ
so I created an account in microsoft express and sent my self a message which I recieved.
Any help on why I can't get the database procedure to work would be apprecieated.
<<<<<<Code Below >>>>
CREATE OR REPLACE PROCEDURE "CFULLER"."MAIL" ( TOPERSON IN
VARCHAR2,FROMPERSON IN VARCHAR2,MESSAGE IN VARCHAR2)
IS
mailhost VARCHAR2(64) := '[email protected];
recipient VARCHAR2(64) := TOPERSON;
sender VARCHAR2(64) := FROMPERSON;
mail_conn utl_smtp.connection;
BEGIN
mail_conn := utl_smtp.open_connection(mailhost, 25);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
utl_smtp.open_data(mail_conn);
utl_smtp.write_data(mail_conn,MESSAGE);
utl_smtp.write_data(mail_conn,'Mail host'||mailhost);
utl_smtp.write_data(mail_conn,'get_user: ' || wwctx_api.get_user );
utl_smtp.write_data(mail_conn,'get_user_id: ' || to_char(wwctx_api.get_user_id));
utl_smtp.write_data(mail_conn,'get_db_user: ' || wwctx_api.get_db_user);
utl_smtp.write_data(mail_conn,'get_product_version: ' || wwctx_api.get_product_version );
utl_smtp.write_data(mail_conn,'get_product_schema: ' || wwctx_api.get_product_schema);
utl_smtp.write_data(mail_conn,'logged_on: ' || to_char(wwctx_api.logged_on));
utl_smtp.write_data(mail_conn,'get_sessionid: ' || wwctx_api.get_sessionid);
utl_smtp.write_data(mail_conn,'get_login_time: ' ||to_char(wwctx_api.get_login_time,'MM/DD/YYYY HH24:MI:SS'));
utl_smtp.write_data(mail_conn,'get_ip_address: ' || wwctx_api.get_ip_address);
utl_smtp.write_data(mail_conn,'get_nls_language: ' || wwctx_api.get_nls_language);
utl_smtp.write_data(mail_conn,'get_public_user: ' || wwctx_api.get_public_user);
utl_smtp.write_data(mail_conn,'get_sso_schema: ' || wwctx_api.get_sso_schema);
utl_smtp.write_data(mail_conn,'get_proxy_server: ' || wwctx_api.get_proxy_server);
utl_smtp.write_data(mail_conn,'get_image_path: ' || wwctx_api.get_image_path);
utl_smtp.write_data(mail_conn,'get_proc_path: ' || wwctx_api.get_proc_path ( 'home', 'portal30'));
utl_smtp.write_data(mail_conn,'get_server_protocol: ' || wwctx_api.get_server_protocol );
utl_smtp.write_data(mail_conn,'get_sso_proc_protocol: ' || wwctx_api.get_sso_proc_path ('home', 'portal30_sso' ));
utl_smtp.write_data(mail_conn,'get_server_name: ' || wwctx_api.get_server_name );
utl_smtp.write_data(mail_conn,'get_dad_name: ' || wwctx_api.get_dad_name );
utl_smtp.close_data(mail_conn);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN utl_smtp.INVALID_OPERATION then
DBMS_OUTPUT.PUT_LINE ( 'INVALID_OPERATION : '|| sqlcode ) ;
WHEN utl_smtp.TRANSIENT_ERROR then
DBMS_OUTPUT.PUT_LINE ( 'TRANSIENT_ERROR : '|| sqlcode ) ;
WHEN utl_smtp.PERMANENT_ERROR then
DBMS_OUTPUT.PUT_LINE ( 'PERMANENT_ERROR : '|| sqlcode ) ;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE ( 'Others : '|| sqlcode ) ;
end mail
;The only thing I am getting for output is a value of 1
If I comment out the portal api calls in this message it works fine.
I am going to pass these values in a function call to a variable and concatenate them.
I wish there was a example of tieing the utl_smpt mail functionality with the portal environment.
This make life a lot easier to know what the person was doing when they had the problem.
crf -
Plz help me TEXTPOOL PROBLEM(VERY URGENT)
hi experts,
plz help in resolving this issue this is very urgent.
error is
The line type of "RPOOL" must be compatible with one of the types
"TEXTPOOL".
and its coming in :
FORM GET_SELSCREEN_TITLE TABLES P_SCREENS STRUCTURE DYNNR.
DATA: BEGIN OF RPOOL OCCURS 20,
ID(1),
NAME(8),
TEXT(80),
END OF RPOOL.
READ TEXTPOOL RSVAR-REPORT LANGUAGE SY-LANGU INTO RPOOL.
plz help me.Hi !
Try this :
DATA RPOOL LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
Reward if usefull,
Regards,
Stéphane. -
Send mail problem having invalid address with correct addresses
I used java mail api to send mails. the code is a s below
javax.mail.Session mailSession=(javax.mail.Session)ctx.lookup("java:/Mail");
mailSession.setDebug(false);
javax.mail.Message msg = new javax.mail.internet.MimeMessage(mailSession);
msg.addRecipients(javax.mail.Message.RecipientType.TO, addressToArr);
msg.setSubject(mailSubject);
msg.setContent(mailBody, contentType);
javax.mail.Transport.send(msg);
But if there is an invalid address in the recipient address array, the email won't be sent to the correct addresses as well. i just want to know whther it happens any coding issues or our mail server implementation.Hi!
You need to activated properties config mail.smtp.sendpartial to true :
// Setup partial mail
props.put("mail.smtp.sendpartial", (new Boolean(partial)).toString());
if the recipient address array have bad address, it will still be sent to good address...
or/and check email address before send mail :
public static boolean isValidEmail(String email)
if (email == null) return false;
boolean valid = true;
try
InternetAddress addr = new InternetAddress(email);
addr.validate();
catch (AddressException ex)
valid = false;
return valid;
}regards, -
Hi,
i am trying to send mail via ODI send mail package and getting error below,
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
any advise pls
thank youODI is sending the email without a password which is the behavior of OdiSendMail.
Where as your mail server is looking for a authenticated mail i.e. which has password , this is why you are getting this error.
For OdiSendMail , use a mail server which does not requires an authentication
Else use customized Jython mail sending procedure ... see details in ODIsendmail error
Maybe you are looking for
-
Can I install 10.4.11 or above on my G4 Titanium 400 mhz with 512 megs ram?
Hello, My wife and I are trying to determine if we can both find to purchase, and install 10.4.11 or above on our Titanium laptop. She has recently bought the Adobe Creative Suite CS 3 and it requires 10.4.11 or above. I'm pretty sure we can add more
-
The battery died so I had it replaced. Now it stops playing music (It was doing this before with the old battery when plugged into power cable)... it won't even make it through a whole track. I have tried turning off and on, turned off autolock and r
-
Hi, What is the difference between F fact table and E fact table? When we create an Infocube which fact table is generated? Thanks, Soujanya
-
Fm REUSE_ALV_GRID_DISPLAY
I'm using this function module... the output look like this <a href="http://img92.imageshack.us/img92/9213/pic11fc.png">[Click here]</a> but for a reason I cannot save the customized layout. The Save option is disabled! <a href="http://img92.imagesha
-
BizTalk ESB Portal Configuration Issue
Hi, Can anyone please help me to resolve this below issue? Actually i have installed/configured ESB toolkit in Dev server and Hosted ESB web site and Webservice. all are in same machine. I am able to successfully browse the portal and able to see the