please help!! Gmail mailing config
Posted: Sun Sep 25, 2011 7:12 pm
this is my config in 3.30
/tool e-mail
set from="<Gateway>" password=xxxxxxxxx server=74.125.43.109:587 \
username=xxxxxx@gmail.com
/system script
add name=dailybackup policy=\
ftp,reboot,read,write,policy,test,winbox,password,sensitive source="/expor\
t file=([/system identity get name] . \"-\" . \\\r\
\n[:pick [/system clock get date] 7 11] . [:pick [/system clock get date] \
0 3] . [:pick [/system clock get date] 4 6]);"
add name=dailymail policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
/tool e-mail send to=xxxx.xx@gmail.com subject=\"\$[/system identity get \
name] backup\" body=\"\$[/system clock get date] \$[/system clock get time\
] configuration file\" file=([/system identity get name] . \"-\" . [:pick \
[/system clock get date] 7 11] . \\\r\
\n[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4\
\_6] . \".rsc\");"
but i cant run this in MT 4.17
& the error message is - Error sending email: invalid FROM address
/tool e-mail
set from="<Gateway>" password=xxxxxxxxx server=74.125.43.109:587 \
username=xxxxxx@gmail.com
/system script
add name=dailybackup policy=\
ftp,reboot,read,write,policy,test,winbox,password,sensitive source="/expor\
t file=([/system identity get name] . \"-\" . \\\r\
\n[:pick [/system clock get date] 7 11] . [:pick [/system clock get date] \
0 3] . [:pick [/system clock get date] 4 6]);"
add name=dailymail policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
/tool e-mail send to=xxxx.xx@gmail.com subject=\"\$[/system identity get \
name] backup\" body=\"\$[/system clock get date] \$[/system clock get time\
] configuration file\" file=([/system identity get name] . \"-\" . [:pick \
[/system clock get date] 7 11] . \\\r\
\n[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4\
\_6] . \".rsc\");"
but i cant run this in MT 4.17
& the error message is - Error sending email: invalid FROM address