phpCOIN

Forum Rules Miscellaneous Add-Ons

For questions and issues dealing with miscellaneous add-ons that do not warrant their own forum, including questions about non-existant addons.

  Reply to this topicStart new topicStart Poll

> Improved smtp.php
Elantrix
Posted: September 22, 2007 05:28 am
Quote Post


Advanced Member
***

Group: Members
Posts: 40
Member No.: 1,745
Joined: February 02, 2007



http://elantrix.gigastorm.net/pub/phpcoin/smtp.zip
  • Added Functions to reduce repetitive code
  • HELO first sends EHLO then HELO as to RFC821
  • Names now work on the emails properly
  • Can attach items to the emails

I hope this fixes most email issues.

Use at your own risk.
PMEmail PosterUsers WebsiteMSN
Top
Elantrix
Posted: September 22, 2007 05:41 am
Quote Post


Advanced Member
***

Group: Members
Posts: 40
Member No.: 1,745
Joined: February 02, 2007



Double checked Names on emails dont fully work... to get it to work, you need to do modifications in the mods files directly such as in the invoices functions file.
PMEmail PosterUsers WebsiteMSN
Top
Elantrix
Posted: October 02, 2007 07:48 am
Quote Post


Advanced Member
***

Group: Members
Posts: 40
Member No.: 1,745
Joined: February 02, 2007




Find "IF ($_CCFG['_PKG_SAFE_EMAIL_ADDRESS']) {" and below, edit to
CODE

     $mail['recip']  = '<'.$_MTP['cl_email'].'>';
  $mail['from']  = '<'.$_cinfo['c_email'].'>';
 } ELSE {
  $mail['recip']  = $_MTP['cl_name_first'].' '.$_MTP['cl_name_last'].' <'.$_MTP['cl_email'].'>';
  $mail['from']  = $_CCFG['_PKG_NAME_SHORT'].'-'.$_cinfo['c_name'].' <'.$_cinfo['c_email'].'>';
 }
 IF ( $_CCFG['INVC_EMAIL_CC_ENABLE'] ) {
     IF ($_CCFG['_PKG_SAFE_EMAIL_ADDRESS']) {
      $mail['cc'] = '<'.$_cinfo['c_email'].'>';
PMEmail PosterUsers WebsiteMSN
Top
Elantrix
Posted: October 02, 2007 01:14 pm
Quote Post


Advanced Member
***

Group: Members
Posts: 40
Member No.: 1,745
Joined: February 02, 2007



coin_modules\invoices\invoices_funcs.php and fixes up bugs that prevent emails from being sent and/or received properly when a name is put on the email address.
PMEmail PosterUsers WebsiteMSN
Top
Peekay
Posted: October 04, 2007 07:46 am
Quote Post


Advanced Member
***

Group: Members
Posts: 88
Member No.: 3,136
Joined: September 22, 2007



I don't want any of my email invoices to get 'bounced' by a fussy mail server or spam filter. I have encountered just that problem recently (from a different application).

I assume this mod ensures that outgoing form-mail meets all the technical requirements so as not to get flagged? huh.gif
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 


Inscrita el Registro Mercantil de Mallorca Tomo 2140, Hoja No. PM-51034, Folio 135
This website owned and operated by: Technology Services RPVW S.L. CIF# B57345084
Avda Constitucion 48 Bajos Alaro 07340 Baleares SPAIN
Tel:+34 971518362    Fax: +34 971518368    eMail: support@phpcoin.com