Current location: Hot Scripts Forums » Programming Languages » PHP » Creating a mailing system


Creating a mailing system

Reply
  #1 (permalink)  
Old 03-18-08, 09:58 AM
agarwalsrushti agarwalsrushti is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Creating a mailing system

Hi,
I wanted to create a mailing system in my project. In which one user can send email to other users whose format will be predefined. But the email addresses in the database are fake. So how can i know that the email has been sent and recieved. I have heard of using apache james or some smtp mail server but dont know how to exactly use it. How should it be set up. Plz let me know the solution for it.
Reply With Quote
  #2 (permalink)  
Old 03-18-08, 10:33 AM
Jay6390's Avatar
Jay6390 Jay6390 is offline
Code Master
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,330
Thanks: 0
Thanked 0 Times in 0 Posts
Hi agarwalsrushti

Take a look at this article. I think this is what you are after. All it took was a quick Google

Jay
__________________
Useful Tutorials
[ PHP Video-1-2-3 ] [ MySQL 1-2-3 ]
For any php function reference type

www.php.net/FunctionName
Reply With Quote
  #3 (permalink)  
Old 03-18-08, 04:23 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
If this is an internal private messaging system then don't bother with email addresses at all- just give each user an ID and handle it within the database. If I've misunderstood your question or goal, please elaborate.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #4 (permalink)  
Old 03-19-08, 12:34 AM
agarwalsrushti agarwalsrushti is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
The link u gave was useful but for that i first to need to host my website on net. So it will check the email addresses validity. I have gone through a tutorial in which the email addresses do not exist in real world but are created using a smtp server in which we can check them.
As the previous post said about private messaging system im planning to construct something similar in this forum. Like we can send privete messages to the users. I ve already given each user a username, passord, id. How can a module of this type be constructed. Can you give me a guideline for this.
Plz help me.
Reply With Quote
  #5 (permalink)  
Old 03-19-08, 07:13 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by agarwalsrushti View Post
How can a module of this type be constructed. Can you give me a guideline for this.
Take a look here for a simple system tutorial:

http://www.egmods.com/Main/Tutorials.../pms/index.php
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #6 (permalink)  
Old 03-19-08, 07:39 AM
agarwalsrushti agarwalsrushti is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
I went through the tutorial i think it will be really very useful.
Its explained in very deeply and detail. Is its working in the same way as we have in this forum.
Can you suggest me some good tutorial for email module also.
Thanks a lot.
Reply With Quote
  #7 (permalink)  
Old 03-19-08, 10:43 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by agarwalsrushti View Post
Can you suggest me some good tutorial for email module also.
I can suggest Google.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #8 (permalink)  
Old 03-19-08, 10:48 AM
Jay6390's Avatar
Jay6390 Jay6390 is offline
Code Master
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,330
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by End User View Post
I can suggest Google.
lol. As funny as that is, it's a good suggestion for most questions. If people typed in their questions on google like 'php pagination tutorial', they pretty much always come up
__________________
Useful Tutorials
[ PHP Video-1-2-3 ] [ MySQL 1-2-3 ]
For any php function reference type

www.php.net/FunctionName
Reply With Quote
  #9 (permalink)  
Old 03-20-08, 04:22 AM
agarwalsrushti agarwalsrushti is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks a lot.
The private messaging tutorial helped me a lot.
Im having now problem setting the phpmailer.
I tried a sample testing code for email but it gave me the following warning.

Warning: fsockopen() [function.fsockopen]: unable to connect to :25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\xampp\php\PEAR\class.smtp.php on line 122

class.smtp.php is the file downloaded from phpmailer.
Can you plz help me out with this.
I searched on google but couldnt find any good tutorial for constructing an email module.
Reply With Quote
  #10 (permalink)  
Old 03-20-08, 07:49 AM
agarwalsrushti agarwalsrushti is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Can anyone help me with a step by step guide to construct an email module starting with the basic.
Im totally lost.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent: What mailing system should i use? geoffrey PHP 1 11-04-04 06:19 PM
How to go about creating template system? Alan PHP 9 06-12-04 10:37 AM
Creating a pseudo antispamming system ? xgab Perl 1 06-09-04 12:43 PM
Creating a METAR system tbig ASP 0 01-31-04 11:28 AM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 06:02 AM


All times are GMT -5. The time now is 07:38 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.