Best way to send an Email from client
Hi
My application will be sitting on the clients desktop. i don't know what mail tool they will have(notes, outlook etc) so my question is what is the best way for me to enable my application to send an email. I am willing to go for the option of 'throwing' up their email client, so i guess my second question is how on earth do i do that ??
Thanks
joj
Well if you are planning only Windows clients rundll32.exe will help.
Check the documentation on that.
cheers
Projyal
Similar Messages
-
Best way to send multiple emails
Hi,
what is the best way to send different emails in batches in one
smtp session? Lets say 50 emails in one smtp session.
Is the smtp session closed after I call Transport.send() ?
In general I can not find a hint when a smtp session gets established and when
the session gets closed.
Thank you for any suggestions,
OliverThe answer is in the [JavaMail FAQ|http://java.sun.com/products/javamail/FAQ.html#rptsend].
-
Is there a way to send an email from the web gallery module
Hi all,
does anyone know if there is a way to send an email from the webmodule, for example to send the link where the gallery was posted?
Thanks for any help.
BartI'm certainly not aware of any way, thus my post here (please cast a vote):
http://feedback.photoshop.com/photoshop_family/topics/lightroom_sdk_email_support
I don't know if you could get away with using LrHttp to open a mailto link.
The only other option I know is to send data to your web server and have it send SMTP. -
What is the best way to send one email for 2000+ address?
Hi I want to send oneemail msg (only text) from mor than 2000 address.
I want that the recp. will not c the other address (i. e. each address should be a BCC)
what is the best way to do it? sned 2000 emails or to send 20 emails with 1000 recp. ?
is there any limitation on the number of recp in BCC?
10x alot Yonatanis there any limitation on the number of recp in BCC?
mail server you are using may be the limiting factor. However, most mail server handle 2000 recp. You will get smtp error 552 if the mail server cant handle 2000 recipients. -
How do I easly send my pictures from Aperture to CVS for actual printing? I always have trouble finding my photos in the Aperture library when I need to load them into the CVS web interface. I can't even tell which photos they are without seeing them.
Also, what's the best way to do it from my Iphone. Doesn't seem to be a good app for that.Export the adjusted version from Aperture to the Desktop. Download the exported version to CVS.
You shouldn;t be looking in the Aperture library (if by looking you mean using the Finder on the library). Use Apertures tools to do this. Besides the only thing you could get out of the library would be the original file that you imported into Aperture not the version with your adjustments. -
What's the best way to send a project from fcp to my .mac video gallery ?
Hi
i have a small 14 minutes project i would like to post on .mac in my gallery.
iMovie can do it easily but thats to many steps from fcp to imovie and to .mac
is there a more direct way of transferring movies ( projects ) ?You don't send projects from FCP to .mac.
Export the movie using a reasonable compression for internet playback.
Open up your .mac iDisk folder and drag the exported file to your movies folder on the iDisk
Open up .mac, create a web page and link your movie. I suppose iWeb does this as well but have never used the program.
If you want more help, try the .mac forum.
Good luck,
x -
Best way to send an email to all my contacts
I would like to send a mass email to my contacts. Should I sort through the contacts first or just send a blast? How can I try to hide the other contacts?
If you add all contacts to the BCC line in mail no one will be able to see who you have sent the email to. if using mac mail program here is how to get the bcc line
-
I have recently created a website for my family's business. When we bought the Macbook the guy in Apple said the best way to send an email campaign to our mailing list was to publish a hidden page, find it in the browser on Safari, then share it via email, so that is what I do. For most of my customers this works fine, however I have a number of people each month who cannot see any of the content of the email. I have added an 'If you can't see this email properly...' link at the top of the page, with no shapes or images etc near it, but even that does not appear for them.
I am a self-taught novice unfortunately, so haven't a clue what the problem is. I'm not sure of the operating system, but we bought the Macbook in May and it has all the recent updates installed. I have just had a new baby so can't get into the store fdor a one-to-one, so if anyone could explain why this happens / what I can do about it, I would be very grateful! Thanks!If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
This one will create the form, database and send out the emails...
http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
"I may receive some form of compensation, financial or otherwise, from my recommendation or link." -
Hi everyone,
What's the easiest way to send an email from a JSP page?
Thanks in advance
ChrisIf you mean from the client that displays JSP-generated HMTL, generate a "mailTo" tag. If you want to send an E-mail from the server, use the JavaMail API (http://developer.java.sun.com/developer/onlineTraining/JavaMail/)
-
Sending an email from a servlet
Hi Guys,
Im trying to send an email from a servlet. I am using the following code:
IMPORTING LIBRARIES
import java.util.*;
import java.io.*;
import javax.servlet.http.*;
import javax.servlet.*;
//importing JDBC
import java.sql.*;
//email
import java.net.*;
import java.text.*; // Used for date formatting.
BEGIN CLASS
public class Email3 extends HttpServlet
private Socket smtpSocket = null;
private DataOutputStream os = null;
private DataInputStream is = null;
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
PrintWriter out = res.getWriter();
OUTPUT TAGS FOR WEBPAGE
out.println("<html>");
out.println("<head>");
out.println("<title>FYP</title>");
out.println("</head>");
out.println("<body>");
out.println("<center>");
send email
//Date dDate = new Date();
//DateFormat dFormat = _
//DateFormat.getDateInstance(DateFormat.FULL,Locale.US);
String m_sHostName="localhost";
int m_iPort=25;
try
{ // Open port to server
smtpSocket = new Socket(m_sHostName, m_iPort);
os = new DataOutputStream(smtpSocket.getOutputStream());
is = new DataInputStream(smtpSocket.getInputStream());
if(smtpSocket != null && os != null && is != null)
{ // Connection was made. Socket is ready for use.
out.println("Connection was made. Socket is ready for use.");
//[ Code to send email will be placed in here. ]
try
{ os.writeBytes("HELLO\r\n");
// You will add the email address that the server
// you are using know you as.
os.writeBytes("MAIL From: <[email protected]>\r\n");
// Who the email is going to.
os.writeBytes("RCPT To: <[email protected]>\r\n");
//IF you want to send a CC then you will have to add this
os.writeBytes("RCPT Cc: <[email protected]>\r\n");
// Now we are ready to add the message and the
// header of the email to be sent out.
os.writeBytes("DATA\r\n");
os.writeBytes("X-Mailer: Via Java\r\n");
//os.writeBytes("DATE: " + dFormat.format(dDate) + "\r\n");
os.writeBytes("From: Me <[email protected]>\r\n");
os.writeBytes("To: YOU <[email protected]>\r\n");
//Again if you want to send a CC then add this.
os.writeBytes("Cc: CCDUDE <[email protected]>\r\n");
//Here you can now add a BCC to the message as well
//os.writeBytes("RCPT Bcc: BCCDude<[email protected]>\r\n");
String sMessage = "Your subjectline.";
os.writeBytes("Subject: Your subjectline here\r\n");
os.writeBytes(sMessage + "\r\n");
os.writeBytes("\r\n.\r\n");
os.writeBytes("QUIT\r\n");
// Now send the email off and check the server reply.
// Was an OK is reached you are complete.
String responseline;
while((responseline = is.readLine())!=null)
{ // System.out.println(responseline);
out.println("responseline= "+responseline+"<br>");
if(responseline.indexOf("Ok") != -1)
//out.println("responseline"+responseline);
break;
catch(Exception e)
{ System.out.println("Cannot send email as an error occurred.");
out.println("Cannot send email as an error occurred.");
catch(Exception e)
{ System.out.println("Host " + m_sHostName + "unknown"); }
out.println("</center>");
out.println("</body>");
out.println("</html>");
out.close();
}//end class
it compiles fine, the connection was made ok but im not receiving the email. When the email is sent off the server reply does not seem to be Ok, as the print statement i tried there is not being executed. When i print the content of my responseline= variable before the if statement i get the following:
Connection was made. Socket is ready for use. responseline= 220 centaur.elec.qmul.ac.uk ESMTP Exim 3.16 #2 Thu, 09 Jan 2003 15:54:34 +0000
responseline= 500 Command unrecognized
responseline= 250 is syntactically correct
responseline= 550 relaying to prohibited by administrator
responseline= 500 Command unrecognized
responseline= 503 No recipient(s).
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 500 Command unrecognized
responseline= 221 Closing connection. Good bye.
Can anyone help?
Is there an easier way to send an email from a servlet?
Thanks
tzafIt's not a matter of "easier way" to send mail from servlet...you are missing a crucial element in your code: authorization to send mail. You need something like this (some of which you have already so note what is different):
Properties properties = new Properties();
properties.put("mail.smtp.host", String3 );
properties.put("mail.smtp.dsn.notify", "SUCCESS" );
properties.put("mail.smtp.host", "mailservernamegoeshere");
properties.put("mail.smtp.auth", "true");
MyAuthenticator auth = new MyAuthenticator();
auth.setUser("user whos account you want to use goes here");
auth.setPassword("user password goes here");
Session session = Session.getDefaultInstance( properties,auth );Here is the auth class:
class MyAuthenticator extends Authenticator {
protected String m_strUser = null;
protected String m_strPassword = null;
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(m_strUser,m_strPassword);
public void setUser(String strUser) {
m_strUser = strUser;
public void setPassword(String strPassword) {
m_strPassword = strPassword; -
Best way of sending signals between two VIs
Hello all,
I have two VIs. One that generate some complicated signals (sine wave, impulse, etc.). The other one takes manually inputted voltage and pressure send them out to some hardware with a pump, and reads back the output of the pump.
What is the best way of sending the waveforms from the signal VI to the manual control VI? I still need to be able to control the signals manually in that manual control VI.
Thanks.
Solved!
Go to Solution.nitad54448 wrote:
hi
For exactly this kind of process, I am using queues, FG and (relax ppl, I know..) global variables. If you are writting a global in one Vi and reading it in another (to prevent accidental (fake)updating); globals are easy to implement. Many people hate them (I do, sometimes) but for these kind of cases I think they are well adapted.
For FG you need a user control and a vi for each variable you want to share... Both FG and globals are "bottle in the ocean" like of information : you send some info and sometimes this info will arrive somewhere...
If you need to be sure that the info is passed then Queues are to be used...
N
While you may not run into race conditions using global variables in a write once/read many approach they do not protect you from some part of your application deciding to write to them. FG at least provide some level of protecting access while globals do not. In addition, global variables can create multiple copies of your data. If your data is large, this can be problematic. I much prefered using a defined messaging scheme. The intent is very clear and you can provide safe guards. Even FGs are better. I personally would never recommend the use of global variables even though some cases MAY work out. A defined API is always a prefered approach and helps to keep the code modular and decoupled. This leads to greater reuse. Global variables tie things together and make reuse more difficult.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
Best way to send Christmas cards by email?
Based on other comments I've seen on these forums I advised my work this week that they should send their Christmas card email by creating it in iWeb and then sending it as an HTML message by choosing "File > Mail Contents of This Page" in Safari.
The problem is the Director just called to say that one of our clients said all he could see was the text.
Any idea what has gone wrong here? And what do people recommend as the best way to send Christmas card emails?Not every mail client is able to or setup to view HTML content in web pages. JBK's suggestion is a sure fire way to get the content of the card so that any client or platform can view it (unless they have display of image content turned off and they have to download the image file and open with an appropriate application).
-
Best Way to send data from InfoProvider to DBTable
Hi all,
I need some advices on this subject :
I want to send some data, stocked in several InfoCubes, to a table.
This cubes are linked by a multicube (for queries).
I don't know the best way to send the data in a table :
- Use Open hub on each cube to send data
- Use ABAP code for extract data directly from MultiCube (possible?)
- Use open hub on multiprovider (I think it's not possible to plug a open hub to the Multiprovider...)
What is the best practice on that?
Can you help me please?
Thanks in advance,
Adrien.Oh yes, my mistake.
I didn't think abuot the APD solution.
I think it should be a good one...
With the ABAP, it seems very difficult indeed.
I'm gonna check this way ! Thanks for your help Daniel !
And except the licence cost, the Open hub should be a good solution??
Edited by: Adrien Loire on Oct 1, 2010 10:34 AM -
Sending HTML email from outlook 2013 exchange it comes broken to non outlook clients.
Hi, when i send out email from my outlook 2013 where is configured Microsoft exchange account it comes broken to gmail clients. All html mail is broken and attachments comes like this file.jpg_ or adobe.pdf_ If i send mail to outlook user
all is good but if client uses something else , they receive broken mail.
Msg comes to gmail clients like this
http://community.office365.com/cfs-filesystemfile.ashx/__key/communityserver-components-userfiles/00-00-39-06-09-Attached+Files/4745.errror.jpg
Without signature and normal phone and email.
Client is using windows 8.1.
I started discussion here http://community.office365.com/en-us/forums/158/p/227602/704778.aspx#704778 but they sent me to your forum. You can read our discussion
and see what i did already.Hi,
Some question to help narrowing down the causes:
1. Does this issue occur when using Outlook to configure the Gmail account, does the format change?
2. Does this issue also occur when sending HTML emails to other remote domains?
If the emails is fine when opening them on Outlook, it think Exchange does not change anything on the email. The issue occurs depends on how email clients open the email.
Thanks,
Simon Wu
TechNet Community Support -
Is there a way to send an email and prevent it from being forwarded
Is there a way to send an email and prevent it from being forwarded
Not with the most common email systems - webmail, POP, SMTP or IMAP.
The only email system I know of that can prevent forwarding (or copying or printing) is Lotus Notes (now called IBM Notes). I believe it can technically be done within an MS Exchange environment, but I have never actually seen it implemented in one.
Maybe you are looking for
-
Airport Express not showing up
Noticed my aexpress was blinking amber today. We use it to stream music to speakers. I tried to reset it and it still is blinking amber. It is not showing up in Airport Utility 5.6 at all. It did a few minutes ago but when I went throught the set up
-
What about the internet temporary files?
Hello! I'm a quite new to Mac and I would like to know if, as I used to do with my old Windows, there is the need to do some 'spring cleaning' and deleate the internet temporary files. I can't bear the idea of collecting files but also I don't know w
-
Airplay audio dropouts, stuttering with Mavericks
I have intermittent audio dropouts with Airplay to an Airport Express and/or a Pioneer speaker with Mavericks. Sometimes these are brief, sometimes the music quits for seconds, sometimes it just sounds like crap. And sometimes it works perfectly.
-
Material Master and CMIR Texts not copied after Client Copy
Hi All, We had a scenario wherein we had to copy our production client and create a new client (Preproduction). When we performed the client copy, i see that the texts maintained in material master (sales text) and Customer material info record are n
-
will i be charged for downloading songs i haev previously brought?