Author Topic: Need quick help with mail on delivery  (Read 188 times)

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Need quick help with mail on delivery
« on: January 04, 2012, 04:58:40 PM »
Ok i use squirrelmail as my email client of choice for a domain and im trying to figure out how to send a on delivery to the person filling out a form...

Note: This is on Zzbombs host and if i require STmp info well... i dont have it :P

here is the section of code:
Code: [Select]
mail($contact_to_email, $contact_subject." $message_subject", $message , "From: $visitor_name_and_email"."Confirm-Reading-Too: $contact_from_email\r\n");


If you register use gamerz300 as Referrer :P





zzbomb

  • Hero Member
  • *****
  • Posts: 964
  • The awesome server admin
    • View Profile
    • ChemicalServers
Re: Need quick help with mail on delivery
« Reply #1 on: January 04, 2012, 05:09:04 PM »
I dont know how to do what your trying to do here.. But fyi.. you can use smtp. its pretty easy.
Example with my domain:
Incoming IMAP: mail.chemicalservers.com 993 SSL/TLS
Outgoing SMTP: mail.chemicalservers.com 465 SSL/TLS
username: admin+chemicalservers.com or admin@chemicalservers.com

This info is also listed in cPanel in the configuring mail clients section, off the email accounts area.
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/EmailAccounts
wee.. cpanel docs. enjoy
« Last Edit: January 04, 2012, 05:12:25 PM by zzbomb »

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Re: Need quick help with mail on delivery
« Reply #2 on: January 04, 2012, 05:15:28 PM »
thanks for the SMTP info, as for the on delivery thing im talking about this:



But in php's mail() function


If you register use gamerz300 as Referrer :P





Pinako

  • Hero Member
  • *****
  • Posts: 1263
    • View Profile
    • inportb
Re: Need quick help with mail on delivery
« Reply #3 on: January 05, 2012, 11:33:39 AM »
Such things are not implemented in email. It must be done out of band. For example, ask the recipient to reply or call after receiving your message.

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
Re: Need quick help with mail on delivery
« Reply #4 on: January 05, 2012, 02:18:19 PM »
>.< i noticed that with Disposition-Notification-To... i required to click send on read notification... what i find annoying is im trying to send a on delivery for a contact us script to let people know that the email was actually sent (even tho the email and websites on the same server kinda deal does not mean something cant and wont go wrong)

So basically my options are:
A: Say screw it if i get it i get it,
B: Say screw it send 2 emails one to the contact us and one to them and if i/they get it i/they get it
C: Do B however also store in a SQL run a cron per 12/24/h periods sending a email notification if a link is not clicked in the internal email on my side...

As much as i love coding C i also hate it :P
« Last Edit: January 05, 2012, 02:20:04 PM by gamerz300 »


If you register use gamerz300 as Referrer :P