Advertisement
Guest User

Untitled

a guest
Jul 13th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. [mail function]
  2. ; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
  3. SMTP = smtp.gmail.com
  4. smtp_port = 587
  5. sendmail_from = jamiesmind@gmail.com
  6.  
  7.  
  8. ; For Win32 only.
  9. ; http://php.net/sendmail-from
  10. ;sendmail_from = postmaster@localhost
  11.  
  12. ; XAMPP IMPORTANT NOTE (1): If XAMPP is installed in a base directory with spaces (e.g. c:program filesC:xampp) fakemail and mailtodisk do not work correctly.
  13. ; XAMPP IMPORTANT NOTE (2): In this case please copy the sendmail or mailtodisk folder in your root folder (e.g. C:sendmail) and use this for sendmail_path.
  14. ; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
  15.  
  16. sendmail_path = ""C:xamppsendmailsendmail.exe" -t"
  17.  
  18. ; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the C:xamppmailoutput folder
  19. ;sendmail_path="C:xamppmailtodiskmailtodisk.exe"
  20.  
  21. ; Force the addition of the specified parameters to be passed as extra parameters
  22. ; to the sendmail binary. These parameters will always replace the value of
  23. ; the 5th parameter to mail(), even in safe mode.
  24. ;mail.force_extra_parameters =
  25.  
  26. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  27. mail.add_x_header=Off
  28.  
  29. ; Log all mail() calls including the full path of the script, line #, to address and headers
  30. ;mail.log = "C:xamppphplogsphp_mail.log"
  31.  
  32. ; you must change mail.mydomain.com to your smtp server,
  33. ; or to IIS's "pickup" directory. (generally C:InetpubmailrootPickup)
  34. ; emails delivered via IIS's pickup directory cause sendmail to
  35. ; run quicker, but you won't get error messages back to the calling
  36. ; application.
  37.  
  38. account Gmail
  39. tls on
  40. tls_certcheck off
  41. host smtp.gmail.com
  42. from jamiesmind@gmail.com
  43. auth on
  44. user jamiesmind@gmail.com
  45. password Vw7r05VX
  46.  
  47. # Set a default account
  48. account default : Gmail
  49.  
  50. port 587
  51.  
  52. smtp_server=smtp.gmail.com
  53. smtp_port=587
  54.  
  55.  
  56. ; SMTPS (SSL) support
  57. ; auto = use SSL for port 465, otherwise try to use TLS
  58. ; ssl = alway use SSL
  59. ; tls = always use TLS
  60. ; none = never try to use SSL
  61.  
  62. smtp_ssl=auto
  63.  
  64. ; the default domain for this server will be read from the registry
  65. ; this will be appended to email addresses when one isn't provided
  66. ; if you want to override the value in the registry, uncomment and modify
  67.  
  68. ;default_domain=mydomain.com
  69.  
  70. ; log smtp errors to error.log (defaults to same directory as sendmail.exe)
  71. ; uncomment to enable logging
  72.  
  73. error_logfile=error.log
  74.  
  75. ; create debug log as debug.log (defaults to same directory as sendmail.exe)
  76. ; uncomment to enable debugging
  77.  
  78. debug_logfile=debug.log
  79.  
  80. ; if your smtp server requires authentication, modify the following two lines
  81.  
  82. auth_username=jamiesmind@gmail.com
  83. auth_password=Vw7r05VX
  84.  
  85. ; if your smtp server uses pop3 before smtp authentication, modify the
  86. ; following three lines. do not enable unless it is required.
  87.  
  88. pop3_server=
  89. pop3_username=
  90. pop3_password=
  91.  
  92. ; force the sender to always be the following email address
  93. ; this will only affect the "MAIL FROM" command, it won't modify
  94. ; the "From: " header of the message content
  95.  
  96. force_sender=jamiesmind@gmail.com
  97.  
  98. ; force the sender to always be the following email address
  99. ; this will only affect the "RCTP TO" command, it won't modify
  100. ; the "To: " header of the message content
  101.  
  102. force_recipient=
  103.  
  104. ; sendmail will use your hostname and your default_domain in the ehlo/helo
  105. ; smtp greeting. you can manually set the ehlo/helo name if required
  106.  
  107. ;hostname=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement