×

Discussion Board

Results 1 to 4 of 4

Thread: E-mail sending

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Red face Need help in E-mail sending using Qt for S60

    Hi,

    Need help for sending email, any ideas will do. I have tried using QTcpSockets, but I'm encountering some problems at the time when I run the program. I cannot receive anymail

    Here is what I have done

    Smtp *newMail = new Smtp("mailserver.com","user","pass");
    newMail->Send("from@aces.com","to@jomz.com","subject","body");

    http://www.qtcentre.org/forum/attach...8&d=1229723545 smtp.cpp

    http://www.qtcentre.org/forum/attach...7&d=1229723545 smtp.h
    Last edited by aces28; 2009-02-10 at 08:51. Reason: Update title

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: E-mail sending

    Hi,

    I'm not sure if I understand your problem correctly. The code you've pasted is only for sending email, not receiving it. Typically an email client only sends mail via SMTP and receives it via POP or IMAP.

    Hope that helps,
    Mark

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Re: E-mail sending

    Quote Originally Posted by Sorcery-ltd View Post
    Hi,

    I'm not sure if I understand your problem correctly. The code you've pasted is only for sending email, not receiving it. Typically an email client only sends mail via SMTP and receives it via POP or IMAP.

    Hope that helps,
    Mark
    Thanks,

    So how can I receive mail...or how will I know that the recepient has received what I have sent? Kindly need your help thanks in advance

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,560

    Re: E-mail sending

    If you want to receive mail, you need to use POP3 or IMAP4 or some other protocol to read it off some email server. Or you need to read it off the Messaging client or some other existing email client that already gets/receives email from somewhere.

    Email protocols allow read receipts, but you can't trust them. You will never really be able to know if the recipient has actually received the email or read it. You will only be able to know if the email server you sent it to got it, but for the rest there're no real guarantees.

Similar Threads

  1. Sending mail from j2me too googlemail.com
    By thedaystar in forum Mobile Java Networking & Messaging & Security
    Replies: 18
    Last Post: 2009-03-27, 12:34
  2. Problem in sending mail
    By harshalpatil in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-15, 06:45
  3. Problem in sending mail in s40
    By harshalpatil in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2007-05-14, 13:43
  4. Sending mail problem...
    By popeye_luck in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-02-08, 05:46
  5. Replies: 2
    Last Post: 2004-07-18, 09:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×