Sending email from local host

sir ,
i want to know ,can send email from the local host using smtp server .
my web server is tomcat 4.1
please help me

1. create a resource in your server.xml
<Resource
name="mail/mailhost"
type="javax.mail.Session"
mail.smtp.host="mailhost"/>
2. added the following in your web.xml (application level)
<ResourceLink global="mail/mailhost" name="mail/mailhost" type="javax.mail.Session"/>
3. get your mail session by look up on the jndi context.
4. send your mail using java mail.
read the for details info
http://tomcat.apache.org/tomcat-4.0-doc/jndi-resources-howto.html

Similar Messages

  • Sending mail from local host

    hi, i am running my application in tomcat.
    if i specify a smtp host server name , could able to send a mail in same domain without using authenticator.
    But i want to know without specifying a smtp server name, is it posstion to send email using "localhost" as the server.
    Properties props = new Properties();
    props.put("mail.transport.protocol", "smtps");
    props.put("mail.smtp.host", smtpHost);
    Session session = Session.getDefaultInstance( props);
    MimeMessage message = new MimeMessage( session );
    message.setFrom( new InternetAddress(aFromEmailAddr) );
    message.addRecipient(
    Message.RecipientType.TO, new InternetAddress(aToEmailAddr)
    message.setSubject( aSubject );
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText(aBody);
    multipart.addBodyPart(messageBodyPart);
    MimeBodyPart attachmentBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(filePath);
    attachmentBodyPart.setDataHandler(new DataHandler(source));
    attachmentBodyPart.setFileName(fileName);
    multipart.addBodyPart(attachmentBodyPart);
    message.setContent(multipart);
    Transport.send( message );
    In my code if i mention a smtp server name in smtpHost , code is working fine, but i want to use localhost.
    so what will be the code for that??? should i have to configure anything.
    plz help.
    thnx in advance

    The code for sending mail from localhost is simply this:
    props.put("mail.smtp.host", "localhost"); But this will not work unless you have an SMTP server running on the same computer where that code is running. That's what "localhost" means. If you are trying to send e-mail without using a server which knows who you are, stop trying to do that. That makes you a spammer. Don't do it.

  • SMTP Server Sending Emails from mymac.local

    I ran a "fetchmail -a" command in terminal not thinking it would work from the command line. It worked and downloaded all my mail from Gmail locally to my mac into /var/me/mail. About 8000 messages in total.
    But it also started relaying all those messages through a postfix program I didn't know was running.
    From what I can tell it tried to relay every message I was sent in my gmail to mymac.local and when it couldn't it send NDR messages back to the address that was trying to send it (i.e. the original sender that sent it to my gmail).
    So to cut a long story short everyone who ever sent me an email got an NDR saying a message they sent to mymac.local could not be delivered. I was spamming them but I did not know it until a few hours later. At that time I killed the postfix program that (i think) was running an SMTP server relay on my machine. (I have MAMP installed for web development)
    I still do not know if it has stopped sending as I cannot view what has been sent or not been sent in any log files.
    How do I make sure everything (SMTP relays/postfix etc.) has stopped sending?
    How do I turn off ability to send anything from my local machine?

    Hi,
    Some ISPs will only allow a device to send emails from their server when its connecting to the Internet over their network.
    If the iPod touch is connecting to the Internet over the cellular network, you will most likely have to enable an alternate outgoing mail server(one that can only send over the cellular network). This article: http://support.apple.com/kb/TS1426 provides more details about enabling alternate SMTP servers.
    You can avoid ISP related send mail issues by switching to another email provider, like MobileMe, Yahoo!, or Gmail.
    -Jason

  • Sending emails from application

    Hello techies,
    I want to send emails from my application.
    Iam using java.net.*,java.util.*,java.io.*; packages upto now .
    I dont want to use javax.mail.* package.
    What is the alternative to my problem. Is there any package or class which is usefull to send mails????
    regards,
    ramu

    Sending email using SMTP and Java
    I was on a project a while ago where we needed to be able to send email notifications from the application to the administrator of the database whenever certain errors were trapped. This example shows you how. There are a few libraries that we will need to add in order to get started.
    Include the following in your project:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;     // Used for date formatting.
    After you have added the above libraries you are ready to start to get into the good stuff!
    The first step to be able to send email it to create a connection to the SMTP port that is listening. Most of the time the SMTP port for a server is usually 25 but check with your email administrator first to get the right port.
    Here is the code to make that initial connection:
    private Socket smtpSocket = null;
    private DataOutputStream os = null;
    private DataInputStream is = null;
    Date dDate = new Date();
    DateFormat dFormat = _
        DateFormat.getDateInstance(DateFormat.FULL,Locale.US);
    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.
        [ Code to send email will be placed in here. ]
    catch(Exception e)
    { System.out.println("Host " + m_sHostName + "unknown"); }
    Now that you have made the connection it is time to add the code to send off the email. This is pretty straight forward so I will add comments into the code sample itself.
    try                       
    {   os.writeBytes("HELO\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");
        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);
            if(responseline.indexOf("Ok") != -1)
                break;
    catch(Exception e)
    {  System.out.println("Cannot send email as an error occurred.");  }I hope this has helped you out!
    [i code above code from someone else,  thanks to him, her ]

  • Help: sending email from JSP or MSB problem

    Hi Everyone,
    I have an J2EE application which sends email to a user when a user submit a form. The email is send from Jsp page and MSD using sun.net.smtp.SmtpClient class. The codes for sending email are:
    String to = "[email protected]";
    String from="[email protected]";
    String smtpHost="the mail smtp host";
    SmtpClient client = new SmtpClient(smtpHost);
    client.from(from);
    client.to(to);
    PrintStream message = client.startMessage();
    message.println("To: " + to);
    message.println("Subject: a subject");
    message.println("email body");      
    It sends email to internal email account user without a problem. However, when the email reciever's email address is a outside email account such as yahoo, I got the following error message:
    Error 500: 550 not local host yahoo.com, not a gateway                     
    This email sending system worked ok before for outsider email address in our old email server. We recerently switched to a new email server. The jsp page and MDB can no longer send email to outside account.
    Any help is appreciated.
    thanks

    Please see this section in The J2EE 1.4 Tutorial for an example of sending email from an enterprise bean:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Resources5.html#wp79827

  • Sending emails from preview with alternative email clients

    Hi, I've got a problem. I've changed my standard email-client from Apple Mail to Unibox. And, of course, I changed the standard email client in the adjustments of Apple Mail too. So everything is working fine except one thing:
    When I try to send a pdf-file from Apple preview.app as a mail, nothing happens. What can I do to tell Apple Preview to use my new Mail-client Unibox for sending mails?

    Hi, Kevin.
    I understand your need to support sales leave-behinds from your DPS app, which is why I wrote that blog post in the first place.
    The mailto: hyperlinking approach works well from a web browser, but the webkit overlay that we we get from iOS (that we use in DPS) is definitely not a browser. Browsers have special access to the local file system, where we would like to store PDFs to attach to email. The webkit overlay does not have this access, so we can't use the normal scheme of:
    mailto:[email protected]?subject=my%20email%20message&body=see%20attachment&attachment="\\myhost\myfolder\myfile.p df" to pass the path to Mail.app.
    This limitation means that you need to use some other method to provide access to that PDF. In my blog article (to which you refer), I provide a method to provide a form that would compose an email that contains a link to the PDF, which would need to be hosted somewhere the reader could access in their browser. An alternative to this approach would be to construct a server-side form that lets a validated user (sales rep?) select some files and send them to their customer. The email would need to be composed and sent from the server, and a quick Google search reveals whole pile of PHP examples of how to send email from a web form.
    Frankly, for your use case of sales enablement, I believe that a server-side system is the better choice, because it would provide you with a way to manage that content outside of DPS, so you can update it without having to republish your .folios.
    Thanks,
    James

  • Unable to send emails from any Apple devices

    Since BT made the changes to Yahoo mail i have had problems with sending emails from my ipad and iphone (IOS8). The only way that i can successfully send an email is to log onto my laptop and send from a windows platform. I have checked all of the settings which are correct and im stumped. I am continuing to receive mail so why cant i send mail? I have contacted the BT customer support to be told that they are not trained on ios platforms so they cant help! pretty gobsmacked with that reposnse tbh, anyone have any ideas?

    You may want to delete the email account and try setting it up again. Once you have deleted it, re-start your phone.
    Set it up manually and do not use the wizard.
    It is best to go through settings >mail contacts, calendars > add account… > don’t choose the BT or BTYahoo option, tap the ‘other’ option from the bottom of the list > Add Mail Account and enter the following details:
    Name – it can be anything you want, but usually your real name is preferable
    Address – your full BT Internet email address
    Password – your email account password
    Description – this can be used if you have more than one email account on the device but put something like ‘work’ or  ‘BT Internet
    Press “Next” and allow the verification (this may take a few minutes)
    On the next screen it will want you to input incoming and outgoing mail server details:
    Tap ‘IMAP’ at the top,
    Incoming mail server settings:
    Host name: mail.btinternet.com
    Username: your full  BT Internet email address
    Password: your email account password
    Outgoing mail server settings:
    Host name: mail.btinternet.com
    Username: your full BT Internet email address
    Password: your email account password
    Press ‘next’
    Slide the notes and mail to be ‘on’ and press ‘save’ in the top-right
    Check your email on the device and see if it is working. Try sending yourself a message and see if it arrives. If messages are not able to send do the following:
    Additional setting changes
    Go to Settings > Mail, Contacts, Calendars > tap your BT email account > a window will appear, tap on your email address > scroll down to the bottom of the window and tap where it says ‘SMTP’ > tap the primary server (which should be mail.btinternet.com) >make sure the following is on or enabled:
    ‘Use SSL’ should be ‘ON’
    Authentication should be ‘password’
    Server port should be ‘465’
    Press ‘done’ in the top-right

  • HT1277 I cannot send email from my mac but I can from my iPad and iphone

    Hi Guys,
    Suddenly I cannot send email from my Mac.  I can however receive emails.
    I can send emails with the same settings from my iPad and iPhone.
    Please help!!

    Your settings for the SMTP server — host name, port number, SSL/TLS or not, or login credentials — are likely incorrect.  Use the Connection Doctor tool (Mail.app > Window > Connection Doctor) to check what's going on with the connections (and to get some diagnostic messages), then review the diagnostics and the current settings with the requirements established for your particular mail provider.

  • Can not send email from Mac, iPhone, or iPad using mail using iCloud.

    I can send email from the icloud web page but I get error messages that the icloud outgoing server is not recongized when I send email from my iphone, ipad and Mac mail.  I can receive icloud email okay on all devices.  I have manully setup a icloud server per instructions on icloud support page for mail's outgoing server name.  It still is not recongized.

    I found a work around that works.   Got to Settings...Icloud....account......advanced....outgoing mail server.....
    Add an "other" server.
    Host Name p01-smtp.mail.me.com
    Put in your me.com email address as username and your Apple ID password
    SSL is on
    Authentication is password
    Server port 587
    This worked for me.....I will use this until the bug is fixed.     Don't make this server your primary.   Leave it in "on" status in the other category.
    Good luck

  • Send email from j2me through servlet

    Hi people,
    i hope you can help me because i am new in network programming.
    I am trying to send email from j2me to googlemail account I have 2 classes EmailMidlet (which has been tested with wireless Toolkit 2.5.2 and it works) and the second class is the servlet-class named EmailServlet:
    when i call the EmailServlet, i get on the console:
    Server: 220 mx.google.com ESMTP g28sm19313024fkg.21
    Server: 250 mx.google.com at your service
    this is the code of my EmailServlet
    import java.io.*;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import java.text.*;
    import java.util.Date;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class EmailServlet extends HttpServlet {
       public void doPost(HttpServletRequest request, HttpServletResponse response)
             throws IOException, ServletException {
          System.out.println("____emailservlet.doPost");
          response.setContentType("text/plain");
          PrintWriter out = response.getWriter();
          System.out.println("______________________________");
          out.println();
          String to = request.getParameter("to");
          System.out.println("____________________________to" + to);
          String subject = request.getParameter("subject");
          String msg = request.getParameter("msg");
          // construct an instance of EmailSender
          System.out.println("servlet_to" + to);
          send("[email protected]", to, subject, msg);
          out.println("mail sent....");
       public void send(String from, String to, String subject, String msg) {
          Socket smtpSocket = null;
          DataOutputStream os = null;
          DataInputStream is = null;
          try {
             smtpSocket = new Socket("smtp.googlemail.com", 25);
             os = new DataOutputStream(smtpSocket.getOutputStream());
             is = new DataInputStream(smtpSocket.getInputStream());
          } catch (UnknownHostException e) {
             System.err.println("Don't know about host: hostname");
          } catch (IOException e) {
             System.err
                   .println("Couldn't get I/O for the connection to: hostname");
          if (smtpSocket != null && os != null && is != null) {
             try {
                os.writeBytes("HELO there" + "\r\n");
                os.writeBytes("MAIL FROM: " + from + "\r\n");
                os.writeBytes("RCPT TO: " + to + "\r\n");
                os.writeBytes("DATA\r\n");
                os.writeBytes("Date: " + new Date() + "\r\n"); // stamp the msg
                                                    // with date
                os.writeBytes("From: " + from + "\r\n");
                os.writeBytes("To: " + to + "\r\n");
                os.writeBytes("Subject: " + subject + "\r\n");
                os.writeBytes(msg + "\r\n"); // message body
                os.writeBytes(".\r\n");
                os.writeBytes("QUIT\r\n");
                // debugging
                String responseLine;
                while ((responseLine = is.readLine()) != null) {
                   System.out.println("Server: " + responseLine);
                   if (responseLine.indexOf("delivery") != -1) {
                      break;
                os.close();
                is.close();
                smtpSocket.close();
             } catch (UnknownHostException e) {
                System.err.println("Trying to connect to unknown host: " + e);
             } catch (IOException e) {
                System.err.println("IOException: " + e);
       } 1.when i print "to" in EmailServlet also:
      String to = request.getParameter("to");
          System.out.println("____________________________to" + to);  it show null on the console :confused:
    2. ist this right in case of googlemail.com?
      smtpSocket = new Socket("smtp.googlemail.com", 25);  I would be very grateful if somebody can help me.

    jackofall
    Please don't post in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
    I'm locking this thread now.
    db

  • How do I fix Mail in Snow Leopard where I cannot send emails from my account to another account I've set up in Mail, but the reverse works fine?

    I have a problem with Mail in Snow Leopard in that I cannot set up two email accounts for myself and my wife with the same ISP and have them operate properly.  I've set up the accounts in strict accordance with my ISP's instructions for setting up email accounts on Mac Mail but I cannot send an email from my account to my wife's without a drop-down message appearing that Mail 'cannot send the email from this server.  Please edit the server list'.  No amount of tweaking appears to work.  Applecare consultants have so far been unable to get it to work and a recent visit to the local Genius Bar in the Apple Store was fruitless also.  My ISP's help line was unable to solve the problem even with a supervisor level consultant.  The ISP concluded it was some kind of 'bug' in Mail.
    I could send emails from my wife's account to mine, but not vice versa; I could send emails to other addresees without any problem and I can send emails from my account to my wife's using the ISP's webmail.
    Does anyone please have a solution to my problem?  At the moment we're operating one account (mine) on my Macbook and my wife's is set up on her iPad2.  As we prefer to use the Macbook for storage and (using Time Machine) for back-up of our data, the two accounts on separate machines is a nuisance.
    Another factor is that I prefer to control when I download emails and set my preferences accordingly.  One of the so-called 'fixes' that were tried wound up downloading emails regardless of settings, even after removing my wife's account; the matter was remedied only after I had removed all accounts form Mail and started afresh from scratch.

    You'll have to pardon my ignorance of some  computer terminology; I'm a retired manager and not a computer technician, hence my muddling up of client and server terminology.
    Re your comment about Port 339: I did qualify this with (?).  As I wrote, it all happened at lightining speed and the guy at the Genius Bar didn't bother explaining what he was doing.  Port designation contained 3s and 9s to the best of my recollection.
    That said, you seem to be spot on re setting up a 'dummy' client in Mail.  I set it up as you suggested and I can send to and receive from this client without a problem.  You appear to have identified the solution, notwithstanding the claims of the ISP's 'experts'.
    The next problem I have now is sorting out my wife's mailbox that is so troublesome whenever I set it up on Mail.
    All the other set-up advice to date yielded a similar result; inability to send from my account to her inbox.  Perhaps deleting her details from the account altogether and setting them up again from scratch may be the solution and I shall try that in due course.  The impediment that I have with this at the moment is that my ISP admits that it has 'a technical problem with its email servers' and some of its related web pages that prevent my doing this myself.  I will have to go through the telephone 'help' line and ask the technician to set it up at their end on my instructions.  This has some disadvantages in that I have to divulge the password to the account to the operator rather than keeping it anonymous by doing it on-line.   You may have solved the problem, but until I can successfully sort out a working mailbox for my wife i cannot definitively say so.
    Many thanks for your perseverance.  You've made more sense than anyone else so far and that deserves some points, surely?

  • I cannot send emails from my btconnect email address on my ipod touch but I can receive them?

    I cannto send emails from my btconnect email account on my ipod touch but I can receive them?!

    For IPod Touch, using WiFi, the answer is:
    BTConnect SMTP server doesn't accept password authentication.
    So, outgoing server just needs to be setup as follows:
    Host Name: smtp.btconnect.com
    User Name:
    Password:
    Use SSL: Off
    Authentication:
    Server Port: 25
    Leave username, password & authentication blank.

  • Can't send email from my iPhone...

    I am having problems sending email from my iPhone via my ISP and the ISP at work. I can send email through my personal domain from these places using my Mac laptop but not via the iPhone.
    Settings for the ISP should be SSL Off for both directions [incoming/outgoing] Authentication: Password and a strange config. for username:
    username+mydomain.com not just username and with the + symbol and not the @ I have entered the address correctly and I get Cannot Send Mail
    Sending contents of the message to the server failed.
    I have also tried:
    mail.mydomain.com:567 and :2525 and :465 and all return similar errors
    I should mention that I'm able to send mail to the phone and retrieve it successfully but not send from it.
    I've tried changing the Uses SSL for Outgoing and still no love. I have verified with my ISP that everything is correct and yet I am still unable to send email from the iPhone.
    Any suggestions or troubleshooting tips are greatly appreciated. My ISP is Site5 as well.

    Yeah, I read the Apple Tech Doc where it described how to add the port number so I tried 587, 465 and 2525 at the request of my hosting company's Forum userbase. All suggestions were attempted including converting the account on Site5 to IMAP and all tests resulted in no mail being sent and a cryptic error message with no useful details as to why the mail was not able to be delivered [like an error code or something useful]. I too am hoping that Apple says or does something about this in the near future.
    Usernames for my ISP must be formatted like so:
    username+domain.com
    I'm not sure if that's part of the problem but I've been successful at creating accounts for multiple mail clients including GyazMail for Mac, Thunderbird and several other mail clients but for the life of me, I can't get the iPhone to send a single bit of information via SMTP.
    Any assistance or news on this front would be greatly appreciated.
    iPhone, iMac G5, PowerBook G4 Mac OS X (10.4.10)

  • Can't send email from home

    I have a serious problem. My wife has a Mac Book Pro for work and she can send email at any location except from home. The error she is getting is
    Cannot send message using the server smtp.knology.net:(username)
    The server "smtp.knology.net" refuses to allow a connection on the default ports. Select a different outgoing mail server from the list below or click try later to leave the message in your outbox until it can be sent.
    I have BellSouth/AT&T DSL with a Westel Versalink 327W modem. The funny thing is our local library also has BellSouth DSL and she can send email from there. Like I said, the only place she can't send email is from our house.
    Thanks

    It is the BS/ATT system you are on. BS/ATT does not allow sending email to another domain from a Residential account. I had the same problem with my work email from home. All sent mail on port 25, I think it is, from a ATT Residential account must go through the ATT servers and or ATT/Yahoo.
    Have your wife check with the mail provider for an alternate sending port. My work mail servers used port 26 for POP and some other port for IMAP.
    EDIT:
    Right the Library has a Business Account. No restrictions on the Business ATT DSL.

  • How can I send email from my yahoo alias account in iPhone5 mail?

    How can I send email from my yahoo alias account in iPhone5 mail?
    I have 2 email accounts: [email protected] is an alias of [email protected]
    In my old iPhone3 I had these accounts set up so that I could send and receive email from both accounts. I did this using the following settings:
    ‘Other’ POP account info:
    Name: xyz
    Address: [email protected]
    Description: alias
    Incoming mail server:
    Host name: pop.mail.yahoo.com
    User name: [email protected]
    Password: password for yahoo account
    Server port: 995
    Outgoing mail server:
    SMTP: smtp.o2.co.uk (o2 is the name of my phone network)
    Server port: 25
    ‘Yahoo!’ account info:
    Name: xyz
    Address: [email protected]
    Password: password for yahoo account
    Description: Yahoo!
    Outgoing mail server:
    Primary server: Yahoo! SMTP server
    Server port: 465
    I’ve tried using the same settings in my new iPhone5, but it doesn’t work. I can receive mail to both accounts, and can send from the Yahoo account, but I cannot send mail from the alias account. When I try, it displays the message: “Cannot send mail. A copy has been placed in your Outbox. The recipient ‘[email protected]’ was rejected by the server”.
    I’ve tried to configure the POP alias account using combinations of ‘pop.mail.yahoo.com’, ‘pop.mail.yahoo.co.uk’, ‘apple.pop.mail.yahoo.co.uk’ and ‘apple.pop.mail.yahoo.com’, for the incoming host, and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server. None of these have worked.
    I’ve also tried setting it up using IMAP instead of POP without success. I tried configuring it using combinations of ‘imap.mail.yahoo.com’, ‘apple.imap.mail.yahoo.com’, ‘imap.mail.yahoo.co.uk’ and ‘apple.imap.mail.yahoo.co.uk’ for the incoming mail server and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server.
    Yahoo say that if I can't send Yahoo! Mail from my mail program, I may be accessing the Internet through an ISP that is blocking the SMTP port, and that if this is the case, I should try setting the SMTP port number to 587 when sending email via Yahoo!'s SMTP server. I don't think that this is the problem, but I tried it just to make sure - without success.
    I’ve also heard that the problem might have something to do with the SPF settings of my alias domain provider. I’m not too sure exactly what SPF settings are, or how to change them, but from what I can gather it seems unlikely that this is the problem given that I was able to send mail from my alias account on my old iPhone3.
    Any help much appreciated: how can I get my alias account to send emails in iPhone5 mail?
    Many thanks,
    Patrick

    A new development: I've tried sending emails from the alias several times over the past 24 hours, but in general I've deleted them if they haven't sent within about half an hour.
    However, one of the messages I left sitting in the outbox did send successfully in the end, but this took about an hour.
    So: perhaps my problem is not in fact that I am completely unable to send mail from my alias, but that I can only do so intermittently and extremely slowly, and by ignoring the "cannot send" message.
    Any help appreciated.

Maybe you are looking for

  • Run time Error : UNCAUGHT_EXCEPTION

    Hi Team Pls reply to resolve the below error When we are uploaded TB through flexible upload  and then Test run for Data Collection for that Cons unit, we got the below Run time error: Runtime Errors         UNCAUGHT_EXCEPTION                        

  • Import tables failed with message" BR1233E Owner name not allowed in param"

    Dear ALL, After finished sucessfully export some tables i try reimport the Tables, why give me a message like this screen below, Please help me, thanks and Best Regards, Chrisna FYI, I using the brspace command for export and import. Main options for

  • Way to Capture Pre-Test Score?

    Hi all - We're using OLM 11.5.10j and want to have a pre-test that, if passed, exempts you from needing to complete the course with which it's associated, and would also mark the overall course as complete. If the learner doesn't pass the pre-test, t

  • Additional iCloud account on new iCloud photos or findmyfriends app?

    Hi, Can anyone think of a workaround for this? I am using the iCloud Photos beta and it is great so far. I wanted to add it to my wife's iPhone as we share a photo library. The only way I could see how to do it was to add my iCloud account as the pri

  • Automated Process to save Report  in Share drive?

    Does SAP has any functionality that enables client to setup some sort of autmated process to generate Report(Excel)  and save it to share drive? Forgive me ignorance.